The little LEDs on the NanoPi blink when there is activity.
[citadel.git] / citadel / server / citserver.h
index 09412b0524364d09d502bbff7a13b5c607c8ed70..9eaaa16af037d979e92b88e852293ef3a32fa5ff 100644 (file)
@@ -7,7 +7,7 @@
 #include "context.h"
 #include "ctdl_module.h"
 
-/* Simple linked list structures ... used in a bunch of different places. */
+// Simple linked list structures ... used in a bunch of different places.
 typedef struct RoomProcList RoomProcList;
 struct RoomProcList {
         struct RoomProcList *next;
@@ -26,7 +26,7 @@ struct UserProcList {
 #define CTDLUSERIP      (IsEmptyStr(CC->cs_addr) ?  CC->cs_clientinfo: CC->cs_addr)
 
 void master_startup (void);
-int master_cleanup (int exitcode);
+void master_cleanup (int exitcode);
 void set_wtmpsupp (char *newtext);
 void set_wtmpsupp_to_current_room(void);
 void do_command_loop(void);
@@ -37,6 +37,7 @@ void citproto_begin_admin_session(void);
 void help_subst (char *strbuf, char *source, char *dest);
 char CtdlCheckExpress(void);
 int CheckIfAlreadySeen(StrBuf *guid);
+void ctdl_lockfile(int);
 
 extern int panic_fd;
 extern time_t server_startup_time;