#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <time.h>
#include "dtn_api.h"
Go to the source code of this file.
Functions | |
void | parse_options (int, char **) |
dtn_endpoint_id_t * | parse_eid (dtn_handle_t handle, dtn_endpoint_id_t *eid, char *str) |
void | print_usage () |
void | print_eid (char *label, dtn_endpoint_id_t *eid) |
int | main (int argc, char **argv) |
Variables | |
char * | progname |
int | verbose = 1 |
char | data_source [1024] |
char * | arg_dest = NULL |
char * | arg_target = NULL |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 68 of file dtncp.c.
References arg_dest, arg_target, bundle_id, bundle_spec, data_source, DOPTS_DELIVERY_RCPT, dtn_close(), dtn_copy_eid(), dtn_errno(), dtn_open(), DTN_PAYLOAD_FILE, DTN_PAYLOAD_MEM, dtn_recv(), DTN_REG_DEFER, DTN_REGID_NONE, dtn_register(), dtn_send(), dtn_set_payload(), dtn_strerror(), DTN_SUCCESS, dtnsim::gettimeofday(), handle, parse_eid(), parse_options(), print_eid(), regid, reply_payload, reply_spec, and verbose.
dtn_endpoint_id_t* parse_eid | ( | dtn_handle_t | handle, | |
dtn_endpoint_id_t * | eid, | |||
char * | str | |||
) |
void print_eid | ( | char * | label, | |
dtn_endpoint_id_t * | eid | |||
) |
void print_usage | ( | ) |
Definition at line 71 of file tca_admin.cc.
char* arg_target = NULL |
char data_source[1024] |