libcoap
4.3.5-develop-ea01661
Loading...
Searching...
No Matches
coap_uri_internal.h
Go to the documentation of this file.
1
/*
2
* coap_uri_internal.h -- URI functions for libcoap
3
*
4
* Copyright (C) 2019--2025 Olaf Bergmann <bergmann@tzi.org> and others
5
*
6
* SPDX-License-Identifier: BSD-2-Clause
7
*
8
* This file is part of the CoAP library libcoap. Please see README for terms
9
* of use.
10
*/
11
17
#ifndef COAP_URI_INTERNAL_H_
18
#define COAP_URI_INTERNAL_H_
19
20
#include "
coap_internal.h
"
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
33
typedef
struct
{
34
const
char
*
name
;
35
uint16_t
port
;
36
uint16_t
proxy_only
;
37
coap_uri_scheme_t
scheme
;
38
}
coap_uri_info_t
;
39
40
extern
coap_uri_info_t
coap_uri_scheme
[
COAP_URI_SCHEME_LAST
];
41
48
void
coap_replace_percents
(
coap_optlist_t
*optlist);
49
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif
/* COAP_URI_INTERNAL_H_ */
coap_internal.h
Pulls together all the internal only header files.
coap_uri_scheme_t
coap_uri_scheme_t
The scheme specifiers.
Definition
coap_uri.h:32
COAP_URI_SCHEME_LAST
@ COAP_URI_SCHEME_LAST
Definition
coap_uri.h:41
coap_uri_scheme
coap_uri_info_t coap_uri_scheme[COAP_URI_SCHEME_LAST]
Definition
coap_uri.c:56
coap_replace_percents
void coap_replace_percents(coap_optlist_t *optlist)
replace any % hex definitions with the actual character.
Definition
coap_uri.c:697
coap_optlist_t
Representation of chained list of CoAP options to install.
Definition
coap_option.h:329
coap_uri_info_t
Definition
coap_uri_internal.h:33
coap_uri_info_t::proxy_only
uint16_t proxy_only
set if proxy support only
Definition
coap_uri_internal.h:36
coap_uri_info_t::name
const char * name
scheme name
Definition
coap_uri_internal.h:34
coap_uri_info_t::scheme
coap_uri_scheme_t scheme
scheme
Definition
coap_uri_internal.h:37
coap_uri_info_t::port
uint16_t port
default scheme port
Definition
coap_uri_internal.h:35
libcoap
include
coap3
coap_uri_internal.h
Generated on Fri Aug 22 2025 02:05:59 for libcoap by
1.9.8