![]() |
libyang
4.0.14
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
Built-in binary type plugin. More...
#include "plugins_types.h"#include <ctype.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include "libyang.h"#include "compat.h"#include "ly_common.h"#include "plugins_internal.h"Go to the source code of this file.
Macros | |
| #define | _GNU_SOURCE /* strdup */ |
Functions | |
| if ((v1->size!=v2->size)||memcmp(v1->data, v2->data, v1->size)) | |
| if (v1->size< v2->size) | |
| else | if (v1->size > v2->size) |
| LYD_VALUE_GET (val1, v1) | |
| LYD_VALUE_GET (val2, v2) | |
Variables | |
| int | cmp = memcmp(v1->data, v2->data, v1->size) |
| return | LY_SUCCESS |
| struct lyplg_type_record | plugins_binary [] |
| Plugin information for binray type implementation. More... | |
Built-in binary type plugin.
This source code is licensed under BSD 3-Clause License (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at
https://opensource.org/licenses/BSD-3-Clause
Definition in file binary.c.
| if | ( | (v1->size!=v2->size)||memcmp(v1->data, v2->data, v1->size) | ) |
| LYD_VALUE_GET | ( | val1 | , |
| v1 | |||
| ) |
| LYD_VALUE_GET | ( | val2 | , |
| v2 | |||
| ) |
| struct lyplg_type_record plugins_binary[] |
Plugin information for binray type implementation.
Note that external plugins are supposed to use:
LYPLG_TYPES = {