#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>
#include "../dlib/dlib.h"
#include "../dpip/dpip.h"
Go to the source code of this file.
|
#define | MSG_ERR(...) printf("** ERROR **: " __VA_ARGS__); |
|
|
static void | print_usage (const char *prgname) |
|
static void | error (char *msg) |
|
static int | Dpi_read_comm_keys (int *port) |
| Read dpid's communication keys from its saved file.
|
|
int | main (int argc, char *argv[]) |
|
◆ MSG_ERR
#define MSG_ERR |
( |
|
... | ) |
printf("** ERROR **: " __VA_ARGS__); |
◆ Dpi_read_comm_keys()
static int Dpi_read_comm_keys |
( |
int * |
port | ) |
|
|
static |
◆ error()
static void error |
( |
char * |
msg | ) |
|
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ print_usage()
static void print_usage |
( |
const char * |
prgname | ) |
|
|
static |
◆ CMD_REGISTER
◆ CMD_STOP
char* CMD_STOP = "<cmd='DpiBye' '>" |
◆ SharedKey