dcop
Xtransint.h File Reference
#include "Xtrans.h"
#include <stdio.h>
#include <errno.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <limits.h>
#include <sys/param.h>
Go to the source code of this file.
Classes | |
struct | _XtransConnInfo |
struct | _Xtransport |
struct | _Xtransport_table |
Defines | |
#define | EGET() errno |
#define | ESET(val) errno = val |
#define | NULL 0 |
#define | OPEN_MAX NOFILES_MAX |
#define | PRMSG(lvl, x, a, b, c) |
#define | READV(ciptr, iov, iovcnt) readv(ciptr->fd, iov, iovcnt) |
#define | TRANS_ALIAS (1<<0) |
#define | TRANS_DISABLED (1<<2) |
#define | TRANS_LOCAL (1<<1) |
#define | TRANS_NOLISTEN (1<<3) |
#define | TRANS_OPEN_MAX OPEN_MAX |
#define | WRITEV(ciptr, iov, iovcnt) writev(ciptr->fd, iov, iovcnt) |
#define | XTRANS_OPEN_CLTS_CLIENT 3 |
#define | XTRANS_OPEN_CLTS_SERVER 4 |
#define | XTRANS_OPEN_COTS_CLIENT 1 |
#define | XTRANS_OPEN_COTS_SERVER 2 |
#define | XTRANSDEBUG 1 |
Typedefs | |
typedef struct _Xtransport | Xtransport |
typedef struct _Xtransport_table | Xtransport_table |
Functions | |
static int | is_numeric (char *) |
Define Documentation
#define EGET | ( | ) | errno |
Definition at line 175 of file Xtransint.h.
#define ESET | ( | val | ) | errno = val |
Definition at line 173 of file Xtransint.h.
#define NULL 0 |
Definition at line 187 of file Xtransint.h.
#define OPEN_MAX NOFILES_MAX |
Definition at line 149 of file Xtransint.h.
#define PRMSG | ( | lvl, | |||
x, | |||||
a, | |||||
b, | |||||
c | ) |
Value:
if (lvl <= XTRANSDEBUG){ \ int hack= 0, saveerrno=errno; \ fprintf(stderr, (const char*)(x+hack),a,b,c); fflush(stderr); \ errno=saveerrno; \ } else ((void)0)
Definition at line 466 of file Xtransint.h.
#define READV | ( | ciptr, | |||
iov, | |||||
iovcnt | ) | readv(ciptr->fd, iov, iovcnt) |
Definition at line 391 of file Xtransint.h.
#define TRANS_ALIAS (1<<0) |
Definition at line 368 of file Xtransint.h.
#define TRANS_DISABLED (1<<2) |
Definition at line 370 of file Xtransint.h.
#define TRANS_LOCAL (1<<1) |
Definition at line 369 of file Xtransint.h.
#define TRANS_NOLISTEN (1<<3) |
Definition at line 371 of file Xtransint.h.
#define TRANS_OPEN_MAX OPEN_MAX |
Definition at line 164 of file Xtransint.h.
#define WRITEV | ( | ciptr, | |||
iov, | |||||
iovcnt | ) | writev(ciptr->fd, iov, iovcnt) |
Definition at line 408 of file Xtransint.h.
#define XTRANS_OPEN_CLTS_CLIENT 3 |
Definition at line 210 of file Xtransint.h.
#define XTRANS_OPEN_CLTS_SERVER 4 |
Definition at line 211 of file Xtransint.h.
#define XTRANS_OPEN_COTS_CLIENT 1 |
Definition at line 208 of file Xtransint.h.
#define XTRANS_OPEN_COTS_SERVER 2 |
Definition at line 209 of file Xtransint.h.
#define XTRANSDEBUG 1 |
Definition at line 72 of file Xtransint.h.
Typedef Documentation
typedef struct _Xtransport Xtransport |
typedef struct _Xtransport_table Xtransport_table |
Function Documentation
static int is_numeric | ( | char * | ) | [static] |