CAEN Utility
2.0.2
Utilities for CAEN projects
CAENUrlTypes.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* CAEN SpA - Software Division
4
* Via Vetraia, 11 - 55049 - Viareggio ITALY
5
* +39 0594 388 398 - www.caen.it
6
*
7
*******************************************************************************
8
*
9
* Copyright (C) 2014, Xsoda
10
*
11
* This file is part of the CAEN Utility.
12
*
13
* This file is distributed under the BSD 2-Clause "Simplified" License.
14
*
15
* SPDX-License-Identifier: BSD-2-Clause
16
*
17
***************************************************************************/
25
#ifndef CAEN_INCLUDE_TYPES_CAENURLTYPES_H_
26
#define CAEN_INCLUDE_TYPES_CAENURLTYPES_H_
27
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
40
#include <stdint.h>
41
42
typedef
enum
{
43
HOST_DOMAIN
,
44
HOST_IPV4
,
45
HOST_IPV6
46
}
c_host_type_t
;
47
48
typedef
struct
{
49
c_host_type_t
host_type
;
50
uint32_t
query_num
;
51
char
*
href
;
52
char
*
schema
;
53
char
*
username
;
54
char
*
password
;
55
char
*
host
;
56
char
*
port
;
57
char
*
path
;
58
struct
{
59
char
*
name
;
60
char
*
value
;
61
} *query;
62
char
*
fragment
;
63
}
c_url_field_t
;
64
67
#ifdef __cplusplus
68
}
69
#endif
70
71
#endif // CAEN_INCLUDE_TYPES_CAENURLTYPES_H_
c_url_field_t::schema
char * schema
Definition:
CAENUrlTypes.h:52
c_url_field_t::href
char * href
Definition:
CAENUrlTypes.h:51
c_url_field_t
Definition:
CAENUrlTypes.h:48
HOST_DOMAIN
Definition:
CAENUrlTypes.h:43
HOST_IPV4
Definition:
CAENUrlTypes.h:44
c_url_field_t::username
char * username
Definition:
CAENUrlTypes.h:53
c_url_field_t::password
char * password
Definition:
CAENUrlTypes.h:54
c_url_field_t::query_num
uint32_t query_num
Definition:
CAENUrlTypes.h:50
c_url_field_t::host
char * host
Definition:
CAENUrlTypes.h:55
c_url_field_t::host_type
c_host_type_t host_type
Definition:
CAENUrlTypes.h:49
c_url_field_t::fragment
char * fragment
Definition:
CAENUrlTypes.h:62
c_url_field_t::value
char * value
Definition:
CAENUrlTypes.h:60
c_url_field_t::path
char * path
Definition:
CAENUrlTypes.h:57
c_host_type_t
c_host_type_t
Definition:
CAENUrlTypes.h:42
c_url_field_t::port
char * port
Definition:
CAENUrlTypes.h:56
c_url_field_t::name
char * name
Definition:
CAENUrlTypes.h:59
HOST_IPV6
Definition:
CAENUrlTypes.h:45
include
types
CAENUrlTypes.h
Generated on Mon Mar 11 2024 13:49:38 for CAEN Utility by
1.8.13