#include "dnxProtocol.h"
#include "dnxTransport.h"
#include "dnxError.h"
#include "dnxDebug.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>
Go to the source code of this file.
Defines | |
#define | VERSION "<unknown>" |
Functions | |
static void | usage (char *base) |
Print a usage string and exit. | |
int | main (int argc, char **argv) |
The main program entry point for the dnx management client. |
Definition in file dnxstats.c.
#define VERSION "<unknown>" |
Definition at line 36 of file dnxstats.c.
int main | ( | int | argc, | |
char ** | argv | |||
) |
The main program entry point for the dnx management client.
[in] | argc | - the number of elements in the argv array. |
[in] | argv | - a null-terminated array of command-line arguments. |
Definition at line 79 of file dnxstats.c.
References DnxMgmtRequest::action, DNX_MODE_ACTIVE, DNX_OBJ_MANAGER, DNX_REQ_ACK, dnxChanMapAdd(), dnxChanMapDelete(), dnxChanMapInit(), dnxChanMapRelease(), dnxConnect(), dnxDisconnect(), dnxErrorString(), dnxMakeXID(), dnxSendMgmtRequest(), dnxWaitForMgmtReply(), PACKAGE_BUGREPORT, DnxMgmtReply::reply, DnxMgmtReply::status, usage(), VERSION, xheapchk, and DnxMgmtRequest::xid.
static void usage | ( | char * | base | ) | [static] |
Print a usage string and exit.
[in] | base | - the base program name. |
Definition at line 56 of file dnxstats.c.