src/server/public/nsapi.h

changeset 47
ce9790523346
parent 29
e8619defde14
child 52
aced2245fb1c
equal deleted inserted replaced
46:636e05eb48f6 47:ce9790523346
881 int Vsecure_auth; /* OBSOLETE */ 881 int Vsecure_auth; /* OBSOLETE */
882 int Vsecurity_session_timeout; 882 int Vsecurity_session_timeout;
883 long Vssl3_session_timeout; 883 long Vssl3_session_timeout;
884 884
885 /* The server's hostname as should be reported in self-ref URLs */ 885 /* The server's hostname as should be reported in self-ref URLs */
886 #define server_hostname "x4" 886 #define server_hostname "x4" // TODO: fix
887 char *Vserver_hostname; 887 char *Vserver_hostname;
888 888
889 /* The main object from which all are derived */ 889 /* The main object from which all are derived */
890 #define root_object conf_getglobals()->Vroot_object 890 #define root_object conf_getglobals()->Vroot_object
891 char *Vroot_object; 891 char *Vroot_object;
1162 #define session_maxdns(sn) session_dns_lookup(sn, 1) 1162 #define session_maxdns(sn) session_dns_lookup(sn, 1)
1163 1163
1164 1164
1165 /* nsapi functions */ 1165 /* nsapi functions */
1166 1166
1167 NSAPI_PUBLIC conf_global_vars_s* conf_getglobals();
1168
1167 ssize_t net_write(SYS_NETFD fd, void *buf, size_t nbytes); 1169 ssize_t net_write(SYS_NETFD fd, void *buf, size_t nbytes);
1168 1170
1169 ssize_t net_printf(SYS_NETFD fd, char *format, ...); 1171 ssize_t net_printf(SYS_NETFD fd, char *format, ...);
1170 1172
1171 1173

mercurial