libcoap 4.3.2rc2

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--2023 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
40#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:51
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