1 | #ifndef _SWAT_PROTO_H_
|
---|
2 | #define _SWAT_PROTO_H_
|
---|
3 |
|
---|
4 | /* This file is automatically generated with "make proto". DO NOT EDIT */
|
---|
5 |
|
---|
6 |
|
---|
7 | /* The following definitions come from web/cgi.c */
|
---|
8 |
|
---|
9 | void cgi_load_variables(void);
|
---|
10 | const char *cgi_variable(const char *name);
|
---|
11 | const char *cgi_variable_nonull(const char *name);
|
---|
12 | bool am_root(void);
|
---|
13 | char *cgi_user_name(void);
|
---|
14 | void cgi_setup(const char *rootdir, int auth_required);
|
---|
15 | const char *cgi_baseurl(void);
|
---|
16 | const char *cgi_pathinfo(void);
|
---|
17 | const char *cgi_remote_host(void);
|
---|
18 | const char *cgi_remote_addr(void);
|
---|
19 | bool cgi_waspost(void);
|
---|
20 |
|
---|
21 | /* The following definitions come from web/diagnose.c */
|
---|
22 |
|
---|
23 | bool winbindd_running(void);
|
---|
24 | bool nmbd_running(void);
|
---|
25 | bool smbd_running(void);
|
---|
26 |
|
---|
27 | /* The following definitions come from web/neg_lang.c */
|
---|
28 |
|
---|
29 | int web_open(const char *fname, int flags, mode_t mode);
|
---|
30 | void web_set_lang(const char *lang_string);
|
---|
31 |
|
---|
32 | /* The following definitions come from web/startstop.c */
|
---|
33 |
|
---|
34 | void start_smbd(void);
|
---|
35 | void start_nmbd(void);
|
---|
36 | void start_winbindd(void);
|
---|
37 | void stop_smbd(void);
|
---|
38 | void stop_nmbd(void);
|
---|
39 | void stop_winbindd(void);
|
---|
40 | void kill_pid(struct server_id pid);
|
---|
41 |
|
---|
42 | /* The following definitions come from web/statuspage.c */
|
---|
43 |
|
---|
44 | void status_page(void);
|
---|
45 |
|
---|
46 | /* The following definitions come from web/swat.c */
|
---|
47 |
|
---|
48 | const char *lang_msg_rotate(TALLOC_CTX *ctx, const char *msgid);
|
---|
49 |
|
---|
50 | #endif /* _SWAT_PROTO_H_ */
|
---|