Golioth Firmware SDK
Loading...
Searching...
No Matches
net_info.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Golioth, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifdef __cplusplus
8extern "C"
9{
10#endif
11
12#pragma once
13
14#include <golioth/client.h>
16#include <stdint.h>
17#include <zcbor_encode.h>
18
23struct golioth_net_info;
24
29struct golioth_net_info *golioth_net_info_create();
30
39enum golioth_status golioth_net_info_destroy(struct golioth_net_info *info);
40
50enum golioth_status golioth_net_info_finish(struct golioth_net_info *info);
51
60const uint8_t *golioth_net_info_get_buf(const struct golioth_net_info *info);
61
70size_t golioth_net_info_get_buf_len(const struct golioth_net_info *info);
71
72#ifdef __cplusplus
73}
74#endif
golioth_status
size_t golioth_net_info_get_buf_len(const struct golioth_net_info *info)
enum golioth_status golioth_net_info_destroy(struct golioth_net_info *info)
enum golioth_status golioth_net_info_finish(struct golioth_net_info *info)
struct golioth_net_info * golioth_net_info_create()
const uint8_t * golioth_net_info_get_buf(const struct golioth_net_info *info)