#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <strings.h>
#include <string.h>
#include <stdlib.h>
#include <sys/time.h>
#include "dtn_api.h"
Go to the source code of this file.
Defines | |
| #define | BUFSIZE 16 |
Functions | |
| void | usage () |
| void | parse_options (int argc, char **argv) |
| int | main (int argc, char **argv) |
Variables | |
| const char * | progname |
| int | verbose = 0 |
| int | quiet = 0 |
| char * | endpoint = NULL |
| dtn_reg_id_t | regid = DTN_REGID_NONE |
| int | expiration = 30 |
| int | count = 0 |
| int | failure_action = DTN_REG_DEFER |
| char * | failure_script = "" |
| int | register_only = 0 |
| int | change = 0 |
| int | unregister = 0 |
| int | recv_timeout = -1 |
| int | no_find_reg = 0 |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 166 of file dtnrecv.c.
References BUFSIZE, change, count, dtn_bind(), dtn_build_local_eid(), dtn_change_registration(), dtn_close(), dtn_copy_eid(), DTN_ENOTFOUND, dtn_errno(), dtn_find_registration(), dtn_free_payload(), dtn_open(), dtn_parse_eid_string(), DTN_PAYLOAD_MEM, dtn_recv(), DTN_REGID_NONE, dtn_register(), dtn_strerror(), DTN_SUCCESS, dtn_unregister(), endpoint, expiration, failure_action, failure_script, handle, no_find_reg, parse_options(), progname, quiet, recv_timeout, regid, register_only, unregister, dtn_endpoint_id_t::uri, and verbose.
| int change = 0 |
Definition at line 40 of file dtnrecv.c.
Referenced by dtn::LinkScheduleEstimator::badness_of_match(), main(), and parse_options().
| int expiration = 30 |
| int failure_action = DTN_REG_DEFER |
| char* failure_script = "" |
| int no_find_reg = 0 |
| int quiet = 0 |
| int recv_timeout = -1 |
| dtn_reg_id_t regid = DTN_REGID_NONE |
| int register_only = 0 |
| int unregister = 0 |
1.5.1