git://git.jankratochvil.net
/
lufs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
http://prdownloads.sourceforge.net/lufs/lufs-0.9.6.tar.gz?download
[lufs.git]
/
filesystems
/
gnetfs
/
gnet_search.h
1
#ifndef _GNET_SEARCH_H_
2
#define _GNET_SEARCH_H_
3
4
struct query {
5
char guid[16];
6
void *ctx;
7
void (*call_back)(void*, struct gnet_locator*, unsigned long);
8
struct list_head list;
9
time_t stamp;
10
unsigned time_out;
11
unsigned long id;
12
};
13
14
struct query *gnet_find_query(struct gnet*, char*);
15
int gnet_send_push(struct gnet*, struct gnet_locator*, unsigned short);
16
17
#endif