You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lighttpd2/src/server.c

24 lines
390 B

14 years ago
14 years ago
#include "base.h"
14 years ago
#include "log.h"
14 years ago
static server* server_new() {
server* srv = g_slice_new0(server);
srv->plugins = g_hash_table_new(g_str_hash, g_str_equal);
srv->options = g_hash_table_new(g_str_hash, g_str_equal);
return srv;
}
static void server_free(server* srv) {
if (!srv) return;
/* TODO */
g_slice_free(server, srv);
}
14 years ago
int main() {
TRACE("%s", "Test!");
return 0;
}