#include <stdint.h>
#include <jansson.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/uio.h>
#include <sys/select.h>
#include <netinet/ip.h>
#include <netdb.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <assert.h>
#include <errno.h>
#include <time.h>
#include <ctype.h>
#include <poll.h>
#include <limits.h>
#include <string>
#include <sstream>
#include "plugincomm.h"
#include "network.h"
#include "config.h"
#include "server.h"
#include "dazeus.h"
#include "database.h"
#include "utils.h"
Go to the source code of this file.
|
#define | __STDC_LIMIT_MACROS |
|
#define | NOTBLOCKING(x) fcntl(x, F_SETFL, fcntl(x, F_GETFL) | O_NONBLOCK) |
|
#define | MIN(a) if(params.size() < a) { fprintf(stderr, "Too few parameters for event %s (%lu)\n", event.c_str(), params.size()); return; } |
|
|
static std::string | realpath (std::string path) |
|
#define __STDC_LIMIT_MACROS |
Copyright (c) Sjors Gielen, 2011 See LICENSE for license.
Definition at line 6 of file plugincomm.cpp.
#define MIN |
( |
|
a | ) |
if(params.size() < a) { fprintf(stderr, "Too few parameters for event %s (%lu)\n", event.c_str(), params.size()); return; } |
#define NOTBLOCKING |
( |
|
x | ) |
fcntl(x, F_SETFL, fcntl(x, F_GETFL) | O_NONBLOCK) |
static std::string realpath |
( |
std::string |
path | ) |
|
|
static |