/[LeafOK_CVS]/pvpgn-1.7.4/src/common/bnethash.h
ViewVC logotype

Annotation of /pvpgn-1.7.4/src/common/bnethash.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Tue Jun 6 03:41:38 2006 UTC (19 years, 9 months ago) by sysadm
Branch: GNU, MAIN
CVS Tags: arelease, HEAD
Changes since 1.1: +0 -0 lines
Content type: text/x-chdr
no message

1 sysadm 1.1 /*
2     * Copyright (C) 1999 Descolada (dyn1-tnt9-237.chicago.il.ameritech.net)
3     * Copyright (C) 1999,2000 Ross Combs (rocombs@cs.nmsu.edu)
4     *
5     * This program is free software; you can redistribute it and/or
6     * modify it under the terms of the GNU General Public License
7     * as published by the Free Software Foundation; either version 2
8     * of the License, or (at your option) any later version.
9     *
10     * This program is distributed in the hope that it will be useful,
11     * but WITHOUT ANY WARRANTY; without even the implied warranty of
12     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13     * GNU General Public License for more details.
14     *
15     * You should have received a copy of the GNU General Public License
16     * along with this program; if not, write to the Free Software
17     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18     */
19     #ifndef INCLUDED_BNETHASH_TYPES
20     #define INCLUDED_BNETHASH_TYPES
21    
22     #ifdef JUST_NEED_TYPES
23     # include "compat/uint.h"
24     #else
25     # define JUST_NEED_TYPES
26     # include "compat/uint.h"
27     # undef JUST_NEED_TYPES
28     #endif
29    
30     typedef t_uint32 t_hash[5];
31    
32     #endif
33    
34     /*****/
35     #ifndef JUST_NEED_TYPES
36     #ifndef INCLUDED_BNETHASH_PROTOS
37     #define INCLUDED_BNETHASH_PROTOS
38    
39     extern int bnet_hash(t_hash * hashout, unsigned int size, void const * data);
40     extern int hash_eq(t_hash const h1, t_hash const h2) ;
41     extern char const * hash_get_str(t_hash const hash);
42     extern int hash_set_str(t_hash * hash, char const * str);
43    
44     #endif
45     #endif

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1