diff options
Diffstat (limited to 'other/zylyx/src/zylyx.h')
| -rw-r--r-- | other/zylyx/src/zylyx.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/other/zylyx/src/zylyx.h b/other/zylyx/src/zylyx.h new file mode 100644 index 0000000..bd2c30a --- /dev/null +++ b/other/zylyx/src/zylyx.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* zylyx - file find | ||
| 2 | * | ||
| 3 | * by scut of teso | ||
| 4 | */ | ||
| 5 | |||
| 6 | #ifndef _ZYL_ZYLYX_H | ||
| 7 | #define _ZYL_ZYLYX_H | ||
| 8 | |||
| 9 | #define VERSION "0.1.1" | ||
| 10 | #define AUTHORS "scut of teso" | ||
| 11 | |||
| 12 | typedef struct proxy { | ||
| 13 | char *file; | ||
| 14 | char *host; | ||
| 15 | unsigned short int port; | ||
| 16 | int x, y; /* field with proxy info :) */ | ||
| 17 | } proxy; | ||
| 18 | |||
| 19 | typedef struct result { | ||
| 20 | int found; | ||
| 21 | char *proxy_host; | ||
| 22 | unsigned short int proxy_port; | ||
| 23 | char *file; | ||
| 24 | } result; | ||
| 25 | |||
| 26 | void zyl_assign_prx (proxy **pl); | ||
| 27 | void zyl_main (proxy **pl, int proxycount, char *file); | ||
| 28 | |||
| 29 | #endif | ||
| 30 | |||
