]> mj.ucw.cz Git - eval.git/blobdiff - submit/submitd.h
Antoher fix to the patch.
[eval.git] / submit / submitd.h
index 13524229603b5c5fcb902c78ac79dc6b9277f6be..6078eb995d7d95bb145d30a28275ad313515a188 100644 (file)
 #include <gnutls/gnutls.h>
 #include <gnutls/x509.h>
 
-struct access_rule {
+struct ip_node {
   cnode n;
   struct ip_addrmask addrmask;
+};
+
+struct access_rule {
+  cnode n;
+  clist ip_list;
   uns allow_admin;
   uns plain_text;
   uns max_conn;
@@ -45,6 +50,8 @@ struct conn {
 };
 
 extern uns max_request_size, max_attachment_size, trace_commands;
+extern uns max_versions;
+extern byte *history_format;
 
 /* submitd.c */
 
@@ -61,6 +68,7 @@ struct task {
   cnode n;
   byte *name;
   uns open_data;       // Number of parts for open-data tasks
+  uns max_size;                // Maximum size (0=use global default)
   clist parts;         // List of parts of this task (simp_nodes)
   clist *extensions;   // List of allowed extensions for this task (simp_nodes)
 };