TclRegistration.cc File Reference

#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 Documentation

#define addElement (  ) 

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_ & BundleProtocol::_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().


Generated on Sat Sep 8 08:43:39 2007 for DTN Reference Implementation by  doxygen 1.5.3