mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 23:31:39 +00:00
Protocols also take a pointer to a sockaddr_in.
This commit is contained in:
parent
00b78f73a4
commit
55ae308821
@ -5,7 +5,8 @@
|
||||
|
||||
struct protocol {
|
||||
char *name;
|
||||
int ( * load ) ( const char *name,
|
||||
int ( * load ) ( char *url,
|
||||
struct sockaddr_in *server,
|
||||
int ( * process ) ( unsigned char *data,
|
||||
unsigned int blocknum,
|
||||
unsigned int len,
|
||||
|
Loading…
Reference in New Issue
Block a user