libcoap
4.3.5-develop-146e0bb
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--2026 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
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
31
typedef
struct
{
32
const
char
*
name
;
33
uint16_t
port
;
34
uint16_t
proxy_only
;
35
coap_uri_scheme_t
scheme
;
36
}
coap_uri_info_t
;
37
38
extern
coap_uri_info_t
coap_uri_scheme
[
COAP_URI_SCHEME_LAST
];
39
46
void
coap_replace_percents
(
coap_optlist_t
*optlist);
47
50
#ifdef __cplusplus
51
}
52
#endif
53
54
#endif
/* COAP_URI_INTERNAL_H_ */
coap_uri_scheme_t
coap_uri_scheme_t
The scheme specifiers.
Definition
coap_uri.h:30
COAP_URI_SCHEME_LAST
@ COAP_URI_SCHEME_LAST
Definition
coap_uri.h:39
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:715
coap_optlist_t
Representation of chained list of CoAP options to install.
Definition
coap_option.h:342
coap_uri_info_t
Definition
coap_uri_internal.h:31
coap_uri_info_t::proxy_only
uint16_t proxy_only
set if proxy support only
Definition
coap_uri_internal.h:34
coap_uri_info_t::name
const char * name
scheme name
Definition
coap_uri_internal.h:32
coap_uri_info_t::scheme
coap_uri_scheme_t scheme
scheme
Definition
coap_uri_internal.h:35
coap_uri_info_t::port
uint16_t port
default scheme port
Definition
coap_uri_internal.h:33
libcoap
include
coap3
coap_uri_internal.h
Generated on Tue Feb 17 2026 02:06:03 for libcoap by
1.9.8