]> mj.ucw.cz Git - subauth.git/blobdiff - server/subauthd.h
Server: Maximum comment size is limited (configurable)
[subauth.git] / server / subauthd.h
index facaef65f2af5f247c05a44b8cda8d499c99bca4..1e867541ef2991231f41f3434d186bfd2ce30097 100644 (file)
@@ -14,7 +14,6 @@
 #include <ucw-json/json.h>
 
 #define SOCKET_TIMEOUT 60000           // in ms
-#define MAX_PACKET_SIZE 16384
 #define MAX_OOB_DATA_SIZE 4096
 
 struct client {
@@ -30,6 +29,7 @@ struct client {
 extern clist zone_list;                        // of struct auth_zone
 extern char *database_name;
 extern char *temp_key_file;
+extern uint max_comment_size;
 
 /* cmd.c */