21 #ifndef NDN_CONTROL_RESPONSE_H
22 #define NDN_CONTROL_RESPONSE_H
24 #include <ndn-cpp/c/control-response-types.h>
25 #include "control-parameters.h"
45 ndn_ControlResponse_initialize
48 size_t strategyMaxNameComponents)
50 self->statusCode = -1;
51 ndn_Blob_initialize(&self->statusText, 0, 0);
52 self->hasBodyAsControlParameters = 0;
53 ndn_ControlParameters_initialize
54 (&self->bodyAsControlParameters, nameComponents, maxNameComponents,
55 strategyNameComponents, strategyMaxNameComponents);
Copyright (C) 2016 Regents of the University of California.
Definition: control-response-types.h:35
Copyright (C) 2015-2016 Regents of the University of California.
Definition: name-types.h:33