#include <limits.h>
#include <oasys/serialize/TclListSerialize.h>
#include <oasys/util/ScratchBuffer.h>
#include "TclRegistration.h"
#include "bundling/BundleEvent.h"
#include "bundling/BundleDaemon.h"
#include "bundling/BundleList.h"
#include "bundling/BundleStatusReport.h"
#include "bundling/CustodySignal.h"
#include "storage/GlobalStore.h"
Go to the source code of this file.
Namespaces | |
namespace | dtn |
Defines | |
#define | addElement(e) |
#define | APPEND_TIMESTAMP(_flag, _what, _field) |
#define addElement | ( | e | ) |
Value:
if (Tcl_ListObjAppendElement(interp, objv, (e)) != TCL_OK) { \ *result = Tcl_NewStringObj("Tcl_ListObjAppendElement failed", -1); \ return TCL_ERROR; \ }
Referenced by dtn::TclRegistration::parse_bundle_data().
#define APPEND_TIMESTAMP | ( | _flag, | |||
_what, | |||||
_field | ) |
Value:
if (sr.status_flags_ & BundleStatusReport::_flag) { \ addElement(Tcl_NewStringObj(_what, -1)); \ sprintf(tmp_buf, "%u.%u", \ sr._field.seconds_, sr._field.seqno_); \ addElement(Tcl_NewStringObj(tmp_buf, -1)); \ }
Referenced by dtn::TclRegistration::parse_bundle_data().