taskrambler
0.1.9
Web server and task management solution.
|
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/signal.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <errno.h>
#include "server.h"
#include "logger.h"
#include "http/worker.h"
#include "auth.h"
#include "application/application.h"
#include "application/adapter/http.h"
#include "interface/subject.h"
#include "config/config.h"
#include "config/value.h"
#include "class.h"
#include "utils/signalHandling.h"
#include "utils/memory.h"
#include "utils/mime_type.h"
Go to the source code of this file.
Macros | |
#define | DEFAULT_SECS 10 |
#define | DEFAULT_USECS 0 |
Functions | |
void | nullhandler () |
void | daemonize (void) |
int | main () |
Variables | |
Logger | logger |
Config | config |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file taskrambler.c.
#define DEFAULT_SECS 10 |
Definition at line 56 of file taskrambler.c.
Referenced by main().
#define DEFAULT_USECS 0 |
Definition at line 59 of file taskrambler.c.
Referenced by main().
void daemonize | ( | void | ) |
Definition at line 38 of file daemonize.c.
References UMASK.
Referenced by main().
int main | ( | ) |
Definition at line 70 of file taskrambler.c.
References assetPoolCleanup(), AUTH_LDAP, AUTH_STORAGE, authCreate(), clearMimeTypes(), config, configGet(), CONFSTRA, CSTRA, daemonize(), DEFAULT_SECS, DEFAULT_USECS, doShutdown, init_signals(), INSTANCE_OF, logger, LOGGER_DEBUG, LOGGER_INFO, loggerLog(), memCleanup(), nullhandler(), serverRun(), subjectAttach(), and randval::value.
void nullhandler | ( | ) |
Definition at line 62 of file taskrambler.c.
Referenced by main().
Config config |
Definition at line 67 of file taskrambler.c.
Referenced by CLASS(), configCtor(), configDtor(), configGet(), httpWorkerProcess(), and main().
Logger logger |
Definition at line 66 of file taskrambler.c.
Referenced by CLASS(), main(), serverCtor(), serverHandleAccept(), serverPoll(), serverRead(), serverRun(), serverWrite(), streamRead(), and streamWrite().