X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=textclient%2Ftextclient.h;h=a945db18ac8e09477533a36ccc049b6dc0dd026a;hb=a6722156441811d3cddce7179eb56c483eebd37f;hp=3c84830ffb4ae58e777d1935fe32b38e4f649e9a;hpb=7b3427cfc9e6a143c3e6187b0f902335ea3cdcc0;p=citadel.git diff --git a/textclient/textclient.h b/textclient/textclient.h index 3c84830ff..a945db18a 100644 --- a/textclient/textclient.h +++ b/textclient/textclient.h @@ -13,7 +13,7 @@ #define UDS "_UDS_" #define DEFAULT_HOST "localhost" #define DEFAULT_PORT "504" -#define CLIENT_VERSION 924 +#define CLIENT_VERSION 925 #define CLIENT_TYPE 0 /* commands we can send to the stty_ctdl() routine */ @@ -56,6 +56,10 @@ enum { #define GF_SKIP 1 /* <;S>kip floor mode */ #define GF_ZAP 2 /* <;Z>ap floor mode */ +/* Can messages be entered in this room? */ +#define ENTMSG_OK_NO 0 /* You may not enter messages here */ +#define ENTMSG_OK_YES 1 /* Go ahead! */ +#define ENTMSG_OK_BLOG 2 /* Yes, but warn the user about how blog rooms work */ /* * Colors for color() command @@ -479,7 +483,6 @@ int CtdlIPCTerminateSession(CtdlIPC *ipc, int sid, char *cret); int CtdlIPCTerminateServerNow(CtdlIPC *ipc, char *cret); int CtdlIPCTerminateServerScheduled(CtdlIPC *ipc, int mode, char *cret); int CtdlIPCEnterSystemMessage(CtdlIPC *ipc, const char *filename, const char *text, char *cret); -int CtdlIPCChangeUsername(CtdlIPC *ipc, const char *username, char *cret); time_t CtdlIPCServerTime(CtdlIPC *ipc, char *crert); int CtdlIPCAideGetUserParameters(CtdlIPC *ipc, const char *who, struct ctdluser **uret, char *cret); int CtdlIPCAideGetEmailAddresses(CtdlIPC *ipc, const char *who, char *, char *cret);