diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-14 00:53:21 +0200 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-15 10:27:33 +0200 | 
| commit | 9859f308d23bf12a7f454ae65dada6d90f4c31db (patch) | |
| tree | 57bb470f695f7dee68dbc3a53fc8507951134843 /lib/mgmt_msg_native.h | |
| parent | 10eac0a54dd943cabe43c59bce3f880b2e43b367 (diff) | |
lib, mgmtd: add ability to request the exact node in get-data request
RESTCONF expects to receive the exact node as a result, not the whole
data tree.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/mgmt_msg_native.h')
| -rw-r--r-- | lib/mgmt_msg_native.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mgmt_msg_native.h b/lib/mgmt_msg_native.h index 88c1065fc8..069cb9b150 100644 --- a/lib/mgmt_msg_native.h +++ b/lib/mgmt_msg_native.h @@ -236,6 +236,7 @@ _Static_assert(sizeof(struct mgmt_msg_tree_data) ==  /* Flags for get-data request */  #define GET_DATA_FLAG_STATE	0x01	/* get only "config false" data */  #define GET_DATA_FLAG_CONFIG	0x02	/* get only "config true" data */ +#define GET_DATA_FLAG_EXACT	0x04	/* get exact data node instead of the full tree */  /**   * struct mgmt_msg_get_data - frontend get-data request.  | 
