Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arne Øslebø
mapi
Commits
9e7cc60c
Commit
9e7cc60c
authored
May 16, 2006
by
Browse files
Changed hash table size
git-svn-id:
file:///home/svn/mapi/trunk@522
8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent
820d9ea5
Changes
5
Hide whitespace changes
Inline
Side-by-side
tracklib/dc.c
View file @
9e7cc60c
...
...
@@ -52,7 +52,7 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 10
1
#define HASHTABLESIZE 10
24
#define STRING_NUM 15
int
isDc
(
mapidflib_function_instance_t
*
instance
,
unsigned
char
*
pkt
,
unsigned
int
len
);
...
...
tracklib/edonkey.c
View file @
9e7cc60c
...
...
@@ -46,7 +46,7 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 10
1
#define HASHTABLESIZE 10
24
int
isEdonkey
(
int
,
char
);
unsigned
int
getSize
(
char
*
);
...
...
tracklib/gnutella.c
View file @
9e7cc60c
...
...
@@ -52,7 +52,7 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 10
1
#define HASHTABLESIZE 10
24
char
*
gnutella_strings
[
3
]
=
{
"GET /uri-res/N2R?urn:sha1:"
,
"GNUTELLA CONNECT/"
,
"GNUTELLA/"
};
//,"GET /get/"};
...
...
tracklib/torrent.c
View file @
9e7cc60c
...
...
@@ -53,7 +53,7 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 10
1
#define HASHTABLESIZE 10
24
char
*
torrent_strings
[
5
]
=
{
"BitTorrent protocol"
,
"GET /scrape?info_hash="
,
"GET /announce?info_hash="
,
"d1:rd2:id20:"
,
"d1:ad2:id20:"
};
...
...
tracklib/trackftp.c
View file @
9e7cc60c
...
...
@@ -53,7 +53,7 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 10
1
#define HASHTABLESIZE 10
24
int
isFTP
(
mapidflib_function_instance_t
*
,
unsigned
char
*
,
int
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment