libcoap
4.3.5-develop-72190a8
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--2024 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
29
typedef
struct
{
30
const
char
*
name
;
31
uint16_t
port
;
32
uint16_t
proxy_only
;
33
coap_uri_scheme_t
scheme
;
34
}
coap_uri_info_t
;
35
36
extern
coap_uri_info_t
coap_uri_scheme
[
COAP_URI_SCHEME_LAST
];
37
44
void
coap_replace_percents
(
coap_optlist_t
*optlist);
45
48
#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:28
COAP_URI_SCHEME_LAST
@ COAP_URI_SCHEME_LAST
Definition
coap_uri.h:37
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:325
coap_uri_info_t
Definition
coap_uri_internal.h:29
coap_uri_info_t::proxy_only
uint16_t proxy_only
set if proxy support only
Definition
coap_uri_internal.h:32
coap_uri_info_t::name
const char * name
scheme name
Definition
coap_uri_internal.h:30
coap_uri_info_t::scheme
coap_uri_scheme_t scheme
scheme
Definition
coap_uri_internal.h:33
coap_uri_info_t::port
uint16_t port
default scheme port
Definition
coap_uri_internal.h:31
libcoap
include
coap3
coap_uri_internal.h
Generated on Sun Dec 22 2024 02:06:04 for libcoap by
1.9.8