#ifndef _SWAT_PROTO_H_ #define _SWAT_PROTO_H_ /* This file is automatically generated with "make proto". DO NOT EDIT */ /* The following definitions come from web/cgi.c */ void cgi_load_variables(void); const char *cgi_variable(const char *name); const char *cgi_variable_nonull(const char *name); bool am_root(void); char *cgi_user_name(void); void cgi_setup(const char *rootdir, int auth_required); const char *cgi_baseurl(void); const char *cgi_pathinfo(void); const char *cgi_remote_host(void); const char *cgi_remote_addr(void); bool cgi_waspost(void); /* The following definitions come from web/diagnose.c */ bool winbindd_running(void); bool nmbd_running(void); bool smbd_running(void); /* The following definitions come from web/neg_lang.c */ int web_open(const char *fname, int flags, mode_t mode); void web_set_lang(const char *lang_string); /* The following definitions come from web/startstop.c */ void start_smbd(void); void start_nmbd(void); void start_winbindd(void); void stop_smbd(void); void stop_nmbd(void); void stop_winbindd(void); void kill_pid(struct server_id pid); /* The following definitions come from web/statuspage.c */ void status_page(void); /* The following definitions come from web/swat.c */ const char *lang_msg_rotate(TALLOC_CTX *ctx, const char *msgid); #endif /* _SWAT_PROTO_H_ */