![]() |
libyang
5.7.2
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
ietf-yang-types time and time-no-zone type plugin. More...
#include "plugins_types.h"#include <assert.h>#include <ctype.h>#include <errno.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include <time.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 */ |
| #define | _XOPEN_SOURCE /* strptime */ |
Functions | |
| if (!strcmp(val1->realtype->name,"time")) | |
| if (dt!=0) | |
| if (v1) | |
| LYD_VALUE_GET (val2, vn2) | |
Variables | |
| double | dt = difftime(vn1->seconds, vn2->seconds) |
| else | |
| struct lyplg_type_record | plugins_time [] |
| Plugin information for time and time-no-zone type implementation. More... | |
| struct lyd_value_time_nz * | vn1 = NULL |
| struct lyd_value_time_nz * | vn2 |
ietf-yang-types time and time-no-zone 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 time.c.
| LYD_VALUE_GET | ( | val2 | , |
| vn2 | |||
| ) |
| else |
| struct lyplg_type_record plugins_time[] |
| struct lyd_value_time_nz* vn1 = NULL |
| struct lyd_value_time_nz * vn2 |