Basically did some work on the new daemon. Things are still unstable.
1998-07-13 Martin Baulig <martin@home-of-linux.org> * glibtop.h: Fixed invocation of `glibtop_close_r'. * sysdeps/linux/procstate.c: Added missing `fclose'. * include/glibtop/gnuserv.h (UNIX_DOMAIN_SOCKETS): Defining. * include/glibtop/open.h (GLIBTOP_METHOD_UNIX): Added. * lib/init.c: Added new method `GLIBTOP_METHOD_UNIX'. * lib/open.c: Added support for Unix Domain Sockets. * lib/close.c: Now closing inet and unix connections. * lib/parameter.c (glibtop_set_parameter_l): You can now set the `method' and `features' fields. * src/daemon/server_config.h: New file. * src/daemon/{gnuserv.c, main.c}: More work on the server.
This commit is contained in:
committed by
Martin Baulig
parent
f30dfecaf7
commit
3477d30dc5
14
src/daemon/server_config.h
Normal file
14
src/daemon/server_config.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#define SERVER_PORT 42800
|
||||
|
||||
#define SERVER_UID 99
|
||||
#define SERVER_GID 99
|
||||
|
||||
#define HOST_TABLE_ENTRIES 3
|
||||
|
||||
const char *permitted_host_names [HOST_TABLE_ENTRIES] =
|
||||
{ "localhost",
|
||||
"voyager.home-of-linux.com",
|
||||
"einstein.home-of-linux.com",
|
||||
};
|
||||
|
||||
unsigned long permitted_hosts [HOST_TABLE_ENTRIES];
|
Reference in New Issue
Block a user