control-parameters-types.h
1 
21 #ifndef NDN_CONTROL_PARAMETERS_TYPES_H
22 #define NDN_CONTROL_PARAMETERS_TYPES_H
23 
24 #include "common.h"
25 #include "name-types.h"
26 #include "forwarding-flags.h"
27 #include "util/blob-types.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 typedef enum {
34  ndn_NfdForwardingFlags_CHILD_INHERIT = 1,
35  ndn_NfdForwardingFlags_CAPTURE = 2,
36 } ndn_NfdForwardingFlags;
37 
43  int hasName;
44  struct ndn_Name name;
45  int faceId;
46  struct ndn_Blob uri;
49  int origin;
50  int cost;
51  struct ndn_ForwardingFlags flags;
52  struct ndn_Name strategy;
53  ndn_Milliseconds expirationPeriod;
54 };
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif
int cost
-1 for none.
Definition: control-parameters-types.h:50
struct ndn_Name strategy
nComponents == 0 for none.
Definition: control-parameters-types.h:52
int localControlFeature
-1 for none.
Definition: control-parameters-types.h:48
Copyright (C) 2013-2016 Regents of the University of California.
Definition: forwarding-flags.h:38
struct ndn_Blob uri
A Blob whose value is a pointer to pre-allocated buffer.
Definition: control-parameters-types.h:46
An ndn_Name holds an array of ndn_NameComponent.
Definition: name-types.h:40
int faceId
-1 for none.
Definition: control-parameters-types.h:45
Copyright (C) 2015-2016 Regents of the University of California.
Definition: blob-types.h:33
int origin
-1 for none.
Definition: control-parameters-types.h:49
An ndn_ControlParameters holds fields for a ControlParameters which is used in the command interest s...
Definition: control-parameters-types.h:42
struct ndn_Name name
Only used if hasName.
Definition: control-parameters-types.h:44
ndn_Milliseconds expirationPeriod
-1 for none.
Definition: control-parameters-types.h:53