DaZeus  2.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
plugincomm.cpp File Reference
#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"
Include dependency graph for plugincomm.cpp:

Go to the source code of this file.

Macros

#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; }
 

Functions

static std::string realpath (std::string path)
 

Macro Definition Documentation

#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)

Definition at line 46 of file plugincomm.cpp.

Function Documentation

static std::string realpath ( std::string  path)
static

Definition at line 40 of file plugincomm.cpp.