summaryrefslogtreecommitdiffstats
path: root/raptorsmiface/libraptorsmiface.h
diff options
context:
space:
mode:
Diffstat (limited to 'raptorsmiface/libraptorsmiface.h')
-rw-r--r--raptorsmiface/libraptorsmiface.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/raptorsmiface/libraptorsmiface.h b/raptorsmiface/libraptorsmiface.h
index 46aa1c9c..299d64ba 100644
--- a/raptorsmiface/libraptorsmiface.h
+++ b/raptorsmiface/libraptorsmiface.h
@@ -47,18 +47,18 @@ char* raptor_sm_get_hostname_for_username(char* username, bool create);
char* raptor_sm_get_ip_for_username(char* username, bool create);
pid_t raptor_sm_run_remote_server(char* username, char *const argv[], char* dbfield, int display);
pid_t raptor_sm_get_pid_for_username(char* username, char* dbfield);
-char* raptor_sm_server_started(char* username, pid_t pid, int display, char* dbfield);
-char* raptor_sm_wm_started(char* username, pid_t pid, char* dbfield);
+int raptor_sm_server_started(char* username, pid_t pid, int display, char* dbfield);
+int raptor_sm_wm_started(char* username, pid_t pid, char* dbfield);
int raptor_sm_get_display_for_username(char* username);
void raptor_sm_wait_for_pid_exit(char* username, pid_t pid);
char* raptor_sm_get_username_for_display_and_hostname(int display, char* hostname);
void raptor_sm_session_terminated(char* username);
-void raptor_sm_wm_terminated(char* username);
+int raptor_sm_wm_terminated(char* username);
int raptor_sm_get_new_unique_display(int mindisplay, int maxdisplay);
bool raptor_sm_sesslimit_reached(char* username);
char raptor_sm_set_session_state(int display, int state);
void raptor_sm_run_remote_desktop(char* username, int display, char* executable);
void raptor_sm_terminate_server(char* username);
char* raptor_sm_get_hostname_for_display(int display);
-void raptor_sm_stats_report_server_start(char* hostname);
-void raptor_sm_stats_report_server_stop(char* hostname);
+int raptor_sm_stats_report_server_start(char* hostname);
+int raptor_sm_stats_report_server_stop(char* hostname);