Moved silc_client_ch[u]mode[_char] to client library from silc/.
[silc.git] / apps / silcd / serverconfig.h
index af017597958a826b3e3d01d5dee1570d4598fe72..5b7a1d54cd2bc70859ccc73b90a06565a9f4f5be 100644 (file)
@@ -133,6 +133,11 @@ typedef struct {
   unsigned short port;
 } SilcConfigServerSectionRedirectClient;
 
+/* Holds motd file */
+typedef struct {
+  char *motd_file;
+} SilcConfigServerSectionMotd;
+
 /* 
    SILC Server Config object. 
 
@@ -162,6 +167,7 @@ typedef struct {
   SilcConfigServerSectionAdminConnection *admins;
   SilcConfigServerSectionDenyConnection *denied;
   SilcConfigServerSectionRedirectClient *redirect;
+  SilcConfigServerSectionMotd *motd;
 } SilcConfigServerObject;
 
 typedef SilcConfigServerObject *SilcConfigServer;
@@ -183,6 +189,7 @@ typedef enum {
   SILC_CONFIG_SERVER_SECTION_TYPE_ADMIN_CONNECTION,
   SILC_CONFIG_SERVER_SECTION_TYPE_DENY_CONNECTION,
   SILC_CONFIG_SERVER_SECTION_TYPE_REDIRECT_CLIENT,
+  SILC_CONFIG_SERVER_SECTION_TYPE_MOTD,
 } SilcConfigServerSectionType;
 
 /* SILC Configuration Section structure. */