]>
Commit | Line | Data |
---|---|---|
7ac48069 | 1 | /* prototypes for the update_server */ |
2 | ||
85330553 | 3 | void auth_002(int conn, char *str); |
991417e4 | 4 | void auth_003(int conn, char *str); |
85330553 | 5 | void exec_002(int conn, char *str); |
6 | void xfer_002(int conn, char *str); | |
7 | void xfer_003(int conn, char *str); | |
7ac48069 | 8 | |
9 | /* from checksum.c */ | |
85330553 | 10 | long checksum_file(char *path); |
7ac48069 | 11 | |
12 | /* from config.c */ | |
13 | char *config_lookup(char *key); | |
14 | ||
15 | /* from get_file.c */ | |
85330553 | 16 | int get_file(int conn, char *pathname, int file_size, int checksum, |
7ac48069 | 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); | |
85330553 | 28 | int send_ok(int conn); |
29 | void quit(int conn, char *str); | |
7ac48069 | 30 | void lose(char *msg); |
31 | void report_error(char *msg); | |
32 | void reject_call(int c); | |
85330553 | 33 | |
34 | extern char *whoami, *hostname; | |
35 | extern int have_authorization, uid; |