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 {
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;
64 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif // CAEN_INCLUDE_TYPES_CAENURLTYPES_H_
char * username
Definition: CAENUrlTypes.h:53
char * password
Definition: CAENUrlTypes.h:54
uint32_t query_num
Definition: CAENUrlTypes.h:50
c_host_type_t host_type
Definition: CAENUrlTypes.h:49
char * fragment
Definition: CAENUrlTypes.h:62
c_host_type_t
Definition: CAENUrlTypes.h:42