2 /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
5 #include <glib-object.h>
8 #include "agent-enum-types.h"
10 /* enumerations from "./agent.h" */
12 nice_component_state_get_type (void)
14 static GType type = 0;
16 static const GEnumValue values[] = {
17 { NICE_COMPONENT_STATE_DISCONNECTED, "NICE_COMPONENT_STATE_DISCONNECTED", "disconnected" },
18 { NICE_COMPONENT_STATE_GATHERING, "NICE_COMPONENT_STATE_GATHERING", "gathering" },
19 { NICE_COMPONENT_STATE_CONNECTING, "NICE_COMPONENT_STATE_CONNECTING", "connecting" },
20 { NICE_COMPONENT_STATE_CONNECTED, "NICE_COMPONENT_STATE_CONNECTED", "connected" },
21 { NICE_COMPONENT_STATE_READY, "NICE_COMPONENT_STATE_READY", "ready" },
22 { NICE_COMPONENT_STATE_FAILED, "NICE_COMPONENT_STATE_FAILED", "failed" },
23 { NICE_COMPONENT_STATE_LAST, "NICE_COMPONENT_STATE_LAST", "last" },
26 type = g_enum_register_static ("NiceComponentState", values);
31 nice_component_type_get_type (void)
33 static GType type = 0;
35 static const GEnumValue values[] = {
36 { NICE_COMPONENT_TYPE_RTP, "NICE_COMPONENT_TYPE_RTP", "rtp" },
37 { NICE_COMPONENT_TYPE_RTCP, "NICE_COMPONENT_TYPE_RTCP", "rtcp" },
40 type = g_enum_register_static ("NiceComponentType", values);
45 nice_compatibility_get_type (void)
47 static GType type = 0;
49 static const GEnumValue values[] = {
50 { NICE_COMPATIBILITY_RFC5245, "NICE_COMPATIBILITY_RFC5245", "rfc5245" },
51 { NICE_COMPATIBILITY_DRAFT19, "NICE_COMPATIBILITY_DRAFT19", "draft19" },
52 { NICE_COMPATIBILITY_GOOGLE, "NICE_COMPATIBILITY_GOOGLE", "google" },
53 { NICE_COMPATIBILITY_MSN, "NICE_COMPATIBILITY_MSN", "msn" },
54 { NICE_COMPATIBILITY_WLM2009, "NICE_COMPATIBILITY_WLM2009", "wlm2009" },
55 { NICE_COMPATIBILITY_OC2007, "NICE_COMPATIBILITY_OC2007", "oc2007" },
56 { NICE_COMPATIBILITY_OC2007R2, "NICE_COMPATIBILITY_OC2007R2", "oc2007r2" },
57 { NICE_COMPATIBILITY_LAST, "NICE_COMPATIBILITY_LAST", "last" },
60 type = g_enum_register_static ("NiceCompatibility", values);
65 nice_proxy_type_get_type (void)
67 static GType type = 0;
69 static const GEnumValue values[] = {
70 { NICE_PROXY_TYPE_NONE, "NICE_PROXY_TYPE_NONE", "none" },
71 { NICE_PROXY_TYPE_SOCKS5, "NICE_PROXY_TYPE_SOCKS5", "socks5" },
72 { NICE_PROXY_TYPE_HTTP, "NICE_PROXY_TYPE_HTTP", "http" },
73 { NICE_PROXY_TYPE_LAST, "NICE_PROXY_TYPE_LAST", "last" },
76 type = g_enum_register_static ("NiceProxyType", values);
81 nice_nomination_mode_get_type (void)
83 static GType type = 0;
85 static const GEnumValue values[] = {
86 { NICE_NOMINATION_MODE_REGULAR, "NICE_NOMINATION_MODE_REGULAR", "regular" },
87 { NICE_NOMINATION_MODE_AGGRESSIVE, "NICE_NOMINATION_MODE_AGGRESSIVE", "aggressive" },
90 type = g_enum_register_static ("NiceNominationMode", values);
95 nice_agent_option_get_type (void)
97 static GType type = 0;
99 static const GFlagsValue values[] = {
100 { NICE_AGENT_OPTION_REGULAR_NOMINATION, "NICE_AGENT_OPTION_REGULAR_NOMINATION", "regular-nomination" },
101 { NICE_AGENT_OPTION_RELIABLE, "NICE_AGENT_OPTION_RELIABLE", "reliable" },
102 { NICE_AGENT_OPTION_LITE_MODE, "NICE_AGENT_OPTION_LITE_MODE", "lite-mode" },
103 { NICE_AGENT_OPTION_ICE_TRICKLE, "NICE_AGENT_OPTION_ICE_TRICKLE", "ice-trickle" },
104 { NICE_AGENT_OPTION_SUPPORT_RENOMINATION, "NICE_AGENT_OPTION_SUPPORT_RENOMINATION", "support-renomination" },
107 type = g_flags_register_static ("NiceAgentOption", values);
112 /* enumerations from "./candidate.h" */
114 nice_candidate_type_get_type (void)
116 static GType type = 0;
118 static const GEnumValue values[] = {
119 { NICE_CANDIDATE_TYPE_HOST, "NICE_CANDIDATE_TYPE_HOST", "host" },
120 { NICE_CANDIDATE_TYPE_SERVER_REFLEXIVE, "NICE_CANDIDATE_TYPE_SERVER_REFLEXIVE", "server-reflexive" },
121 { NICE_CANDIDATE_TYPE_PEER_REFLEXIVE, "NICE_CANDIDATE_TYPE_PEER_REFLEXIVE", "peer-reflexive" },
122 { NICE_CANDIDATE_TYPE_RELAYED, "NICE_CANDIDATE_TYPE_RELAYED", "relayed" },
125 type = g_enum_register_static ("NiceCandidateType", values);
130 nice_candidate_transport_get_type (void)
132 static GType type = 0;
134 static const GEnumValue values[] = {
135 { NICE_CANDIDATE_TRANSPORT_UDP, "NICE_CANDIDATE_TRANSPORT_UDP", "udp" },
136 { NICE_CANDIDATE_TRANSPORT_TCP_ACTIVE, "NICE_CANDIDATE_TRANSPORT_TCP_ACTIVE", "tcp-active" },
137 { NICE_CANDIDATE_TRANSPORT_TCP_PASSIVE, "NICE_CANDIDATE_TRANSPORT_TCP_PASSIVE", "tcp-passive" },
138 { NICE_CANDIDATE_TRANSPORT_TCP_SO, "NICE_CANDIDATE_TRANSPORT_TCP_SO", "tcp-so" },
141 type = g_enum_register_static ("NiceCandidateTransport", values);
146 nice_relay_type_get_type (void)
148 static GType type = 0;
150 static const GEnumValue values[] = {
151 { NICE_RELAY_TYPE_TURN_UDP, "NICE_RELAY_TYPE_TURN_UDP", "udp" },
152 { NICE_RELAY_TYPE_TURN_TCP, "NICE_RELAY_TYPE_TURN_TCP", "tcp" },
153 { NICE_RELAY_TYPE_TURN_TLS, "NICE_RELAY_TYPE_TURN_TLS", "tls" },
156 type = g_enum_register_static ("NiceRelayType", values);
161 /* enumerations from "./pseudotcp.h" */
163 pseudo_tcp_debug_level_get_type (void)
165 static GType type = 0;
167 static const GEnumValue values[] = {
168 { PSEUDO_TCP_DEBUG_NONE, "PSEUDO_TCP_DEBUG_NONE", "none" },
169 { PSEUDO_TCP_DEBUG_NORMAL, "PSEUDO_TCP_DEBUG_NORMAL", "normal" },
170 { PSEUDO_TCP_DEBUG_VERBOSE, "PSEUDO_TCP_DEBUG_VERBOSE", "verbose" },
173 type = g_enum_register_static ("PseudoTcpDebugLevel", values);
178 pseudo_tcp_state_get_type (void)
180 static GType type = 0;
182 static const GEnumValue values[] = {
183 { PSEUDO_TCP_LISTEN, "PSEUDO_TCP_LISTEN", "listen" },
184 { PSEUDO_TCP_SYN_SENT, "PSEUDO_TCP_SYN_SENT", "syn-sent" },
185 { PSEUDO_TCP_SYN_RECEIVED, "PSEUDO_TCP_SYN_RECEIVED", "syn-received" },
186 { PSEUDO_TCP_ESTABLISHED, "PSEUDO_TCP_ESTABLISHED", "established" },
187 { PSEUDO_TCP_CLOSED, "PSEUDO_TCP_CLOSED", "closed" },
188 { PSEUDO_TCP_FIN_WAIT_1, "PSEUDO_TCP_FIN_WAIT_1", "fin-wait-1" },
189 { PSEUDO_TCP_FIN_WAIT_2, "PSEUDO_TCP_FIN_WAIT_2", "fin-wait-2" },
190 { PSEUDO_TCP_CLOSING, "PSEUDO_TCP_CLOSING", "closing" },
191 { PSEUDO_TCP_TIME_WAIT, "PSEUDO_TCP_TIME_WAIT", "time-wait" },
192 { PSEUDO_TCP_CLOSE_WAIT, "PSEUDO_TCP_CLOSE_WAIT", "close-wait" },
193 { PSEUDO_TCP_LAST_ACK, "PSEUDO_TCP_LAST_ACK", "last-ack" },
196 type = g_enum_register_static ("PseudoTcpState", values);
201 pseudo_tcp_write_result_get_type (void)
203 static GType type = 0;
205 static const GEnumValue values[] = {
206 { WR_SUCCESS, "WR_SUCCESS", "success" },
207 { WR_TOO_LARGE, "WR_TOO_LARGE", "too-large" },
208 { WR_FAIL, "WR_FAIL", "fail" },
211 type = g_enum_register_static ("PseudoTcpWriteResult", values);
216 pseudo_tcp_shutdown_get_type (void)
218 static GType type = 0;
220 static const GEnumValue values[] = {
221 { PSEUDO_TCP_SHUTDOWN_RD, "PSEUDO_TCP_SHUTDOWN_RD", "rd" },
222 { PSEUDO_TCP_SHUTDOWN_WR, "PSEUDO_TCP_SHUTDOWN_WR", "wr" },
223 { PSEUDO_TCP_SHUTDOWN_RDWR, "PSEUDO_TCP_SHUTDOWN_RDWR", "rdwr" },
226 type = g_enum_register_static ("PseudoTcpShutdown", values);
231 /* Generated data ends here */