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
267300d9
Commit
267300d9
authored
Jul 26, 2006
by
Browse files
Moved define to trackflib.h
git-svn-id:
file:///home/svn/mapi/trunk@755
8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent
f8de98ef
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/trackflib/dc.c
View file @
267300d9
...
...
@@ -58,7 +58,6 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 1024
#define STRING_NUM 15
int
isDc
(
mapidflib_function_instance_t
*
instance
,
unsigned
char
*
pkt
,
unsigned
int
len
);
...
...
src/trackflib/edonkey.c
View file @
267300d9
...
...
@@ -49,7 +49,6 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 1024
/*
int isEdonkey(int, char);
unsigned int getSize(char *);
...
...
src/trackflib/gnutella.c
View file @
267300d9
...
...
@@ -58,7 +58,6 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 1024
#define GNUTELLA_STRING_NO 4
char
*
gnutella_strings
[
GNUTELLA_STRING_NO
]
=
{
"GET /uri-res/N2R?urn:sha1:"
,
"GNUTELLA CONNECT/"
,
"GNUTELLA/"
,
"Server: LimeWire/"
};
//,"GET /get/"};
...
...
src/trackflib/torrent.c
View file @
267300d9
...
...
@@ -62,7 +62,6 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 1024
#define TOR_STRINGS_NO 14
char
*
torrent_strings
[
TOR_STRINGS_NO
]
=
{
"BitTorrent protocol"
,
"GET /scrape?info_hash="
,
"GET /announce?info_hash="
,
"d1:rd2:id20:"
,
"d1:ad2:id20:"
,
"BT_PIECE"
...
...
src/trackflib/trackflib.h
View file @
267300d9
...
...
@@ -3,6 +3,7 @@
#define ETHERTYPE_8021Q 0x8100
#define HASHTABLESIZE 4096
//#define __WITH_AHO__
#define EDONKEY_COLOR 1
...
...
src/trackflib/trackftp.c
View file @
267300d9
...
...
@@ -56,7 +56,6 @@ struct list{
struct
filters
*
tail
;
};
#define HASHTABLESIZE 1024
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