summaryrefslogtreecommitdiff
path: root/other/zylyx/src/proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'other/zylyx/src/proxy.h')
-rw-r--r--other/zylyx/src/proxy.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/other/zylyx/src/proxy.h b/other/zylyx/src/proxy.h
new file mode 100644
index 0000000..bfb26a8
--- /dev/null
+++ b/other/zylyx/src/proxy.h
@@ -0,0 +1,32 @@
1/* zylyx - file find
2 *
3 * proxy routines include file
4 *
5 * by team teso
6 */
7
8#ifndef _ZYL_PROXY_H
9#define _ZYL_PROXY_H
10
11#include <pthread.h>
12#include <semaphore.h>
13#include <stdio.h>
14#include "zylyx.h"
15
16typedef struct scan_t {
17 proxy *proxy;
18 result *result_r;
19 pthread_mutex_t *result_m;
20 sem_t *permit_action;
21 sem_t *client_action;
22} scan_t;
23
24proxy **prx_load (char *filename, int *pc);
25void prx_fire (proxy *mp, result *result_r, pthread_mutex_t *result_m,
26 sem_t *permit_action, sem_t *client_action);
27void *prx_scan (scan_t *sc);
28proxy *prx_read (FILE *fp);
29long int prx_count (char *filename);
30
31#endif
32