IBR-DTNSuite  0.10
dtninbox.cpp File Reference
#include "config.h"
#include "ibrdtn/api/Client.h"
#include "ibrcommon/net/socket.h"
#include "ibrcommon/thread/Mutex.h"
#include "ibrcommon/thread/MutexLock.h"
#include "ibrdtn/data/PayloadBlock.h"
#include "ibrdtn/data/Bundle.h"
#include "ibrcommon/data/BLOB.h"
#include "ibrcommon/data/File.h"
#include "ibrcommon/appstreambuf.h"
#include <stdlib.h>
#include <iostream>
#include <map>
#include <vector>
#include <csignal>
#include <sys/types.h>
#include <unistd.h>
Include dependency graph for dtninbox.cpp:

Go to the source code of this file.

Functions

void print_help ()
 
map< string, string > readconfiguration (int argc, char **argv)
 
void term (int signal)
 
int main (int argc, char **argv)
 

Variables

bool _running = true
 
ibrcommon::socketstream_conn = NULL
 

Function Documentation

void print_help ( )

Definition at line 43 of file dtninbox.cpp.

map<string,string> readconfiguration ( int  argc,
char **  argv 
)

Definition at line 54 of file dtninbox.cpp.

References print_help().

Referenced by main().

Here is the call graph for this function:

void term ( int  signal)

Definition at line 90 of file dtninbox.cpp.

References _conn, _running, and ibrcommon::socketstream::close().

Referenced by main().

Here is the call graph for this function:

Variable Documentation

ibrcommon::socketstream* _conn = NULL

Definition at line 88 of file dtninbox.cpp.

Referenced by main(), and term().