]> andersk Git - moira.git/blob - update/update_server.h
Command line printer manipulation client, and build goo.
[moira.git] / update / update_server.h
1 /* prototypes for the update_server */
2
3 void auth_002(int conn, char *str);
4 void auth_003(int conn, char *str);
5 void exec_002(int conn, char *str);
6 void xfer_002(int conn, char *str);
7 void xfer_003(int conn, char *str);
8
9 /* from checksum.c */
10 long checksum_file(char *path);
11
12 /* from config.c */
13 char *config_lookup(char *key);
14
15 /* from get_file.c */
16 int get_file(int conn, char *pathname, int file_size, int checksum,
17              int mode, int encrypt);
18
19 /* from log.c */
20 void mr_update_initialize(void);
21 void mr_log_error(char *msg);
22 void mr_log_warning(char *msg);
23 void mr_log_info(char *msg);
24 void mr_debug(char *msg);
25
26 /* from update_server.c */
27 void initialize(void);
28 int send_ok(int conn);
29 void quit(int conn, char *str);
30 void lose(char *msg);
31 void report_error(char *msg);
32 void reject_call(int c);
33
34 extern char *whoami, *hostname;
35 extern int have_authorization, uid;
This page took 0.058447 seconds and 5 git commands to generate.