#include <str.h>
#include <stdio.h>
#include <signal.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
#include <stdlib.h>
#include <unistd.h>
#include <err.h>
#include <fcntl.h>
#include <sys/queue.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/resource.h>
#include "zmq_compatible.h"
#include <event.h>
#include <evhttp.h>
#include <msgpack.h>
#include <groonga.h>
#include <pthread.h>
#include "util.h"
Go to the source code of this file.
Functions |
| void | timeout_handler (int fd, short events, void *arg) |
| int | main (int argc, char **argv) |
Macro Definition Documentation
| #define CMD_BUF_SIZE 1024 |
| #define CONST_STR_LEN |
( |
|
x | ) |
x, x ? sizeof(x) - 1 : 0 |
| #define DEFAULT_MAX_THREADS 8 |
| #define DEFAULT_PORT 8080 |
| #define LISTEN_BACKLOG 756 |
| #define MAX_THREADS 128 /* max 256 */ |
| #define RUN_MODE_ENABLE_MAX_FD_CHECK 0x0080 |
| #define RUN_MODE_MASK 0x007f |
Enumeration Type Documentation
- Enumerator:
| run_mode_none |
|
| run_mode_usage |
|
| run_mode_daemon |
|
| run_mode_error |
|
Definition at line 56 of file groonga_suggest_httpd.c.
Function Documentation
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
| void timeout_handler |
( |
int |
fd, |
|
|
short |
events, |
|
|
void * |
arg |
|
) |
| |