source: trunk/third/moira/update/update_server.h @ 23095

Revision 23095, 869 bytes checked in by ghudson, 16 years ago (diff)
Import the moira package from SIPB Debathena.
Line 
1/* prototypes for the update_server */
2
3void auth_002(int conn, char *str);
4void auth_003(int conn, char *str);
5void exec_002(int conn, char *str);
6void xfer_002(int conn, char *str);
7void xfer_003(int conn, char *str);
8
9/* from checksum.c */
10long checksum_file(char *path);
11
12/* from config.c */
13char *config_lookup(char *key);
14
15/* from get_file.c */
16int get_file(int conn, char *pathname, int file_size, int checksum,
17             int mode, int encrypt);
18
19/* from log.c */
20void mr_update_initialize(void);
21void mr_log_error(char *msg);
22void mr_log_warning(char *msg);
23void mr_log_info(char *msg);
24void mr_debug(char *msg);
25
26/* from update_server.c */
27void initialize(void);
28int send_ok(int conn);
29void quit(int conn, char *str);
30void lose(char *msg);
31void report_error(char *msg);
32void reject_call(int c);
33
34extern char *whoami, *hostname;
35extern int have_authorization, uid;
Note: See TracBrowser for help on using the repository browser.