📄 gupnp-types.h
字号:
/* * Copyright (C) 2007 Zeeshan Ali <zeenix@gstreamer.net> * Copyright (C) 2006, 2007 OpenedHand Ltd. * * Author: Zeeshan Ali <zeenix@gstreamer.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */#ifndef __GUPNP_TYPES_H__#define __GUPNP_TYPES_H__#include <glib-object.h>G_BEGIN_DECLS/** * GUPNP_TYPE_BIN_BASE64: * * A string type containing Base-64 encoded binary data. */#define GUPNP_TYPE_BIN_BASE64 \ (gupnp_bin_base64_get_type ())/** * GUPNP_TYPE_BIN_HEX: * * A string type containing binary hexadecimal encoded binary data. */#define GUPNP_TYPE_BIN_HEX \ (gupnp_bin_hex_get_type ())/** * GUPNP_TYPE_DATE: * * A string type representing a date in ISO 8601 format with no time or timezone. */#define GUPNP_TYPE_DATE \ (gupnp_date_get_type ())/** * GUPNP_TYPE_DATE_TIME: * * A string type representing a date in ISO 8601 format with optional time but no timezone. */#define GUPNP_TYPE_DATE_TIME \ (gupnp_date_time_get_type ())/** * GUPNP_TYPE_DATE_TIME_TZ: * * A string type representing a date in ISO 8601 format with optional time and timezone. */#define GUPNP_TYPE_DATE_TIME_TZ \ (gupnp_date_time_tz_get_type ())/** * GUPNP_TYPE_TIME: * * A string type representing a time in ISO 8601 format with no date or timezone. */#define GUPNP_TYPE_TIME \ (gupnp_time_get_type ())/** * GUPNP_TYPE_TIME_TZ: * * A string type representing a time in ISO 8601 format with optional timezone and no date. */#define GUPNP_TYPE_TIME_TZ \ (gupnp_time_tz_get_type ())/** * GUPNP_TYPE_URI: * * A string type representing a Universal Resource Indentifier. */#define GUPNP_TYPE_URI \ (gupnp_uri_get_type ())/** * GUPNP_TYPE_UUID: * * A Universally Unique ID represented as a hexadecimal-encoded string. */#define GUPNP_TYPE_UUID \ (gupnp_uuid_get_type ())GTypegupnp_bin_base64_get_type (void) G_GNUC_CONST; /* string */GTypegupnp_bin_hex_get_type (void) G_GNUC_CONST; /* string */GTypegupnp_date_get_type (void) G_GNUC_CONST; /* string */GTypegupnp_date_time_get_type (void) G_GNUC_CONST; /* string */GTypegupnp_date_time_tz_get_type (void) G_GNUC_CONST; /* string */GTypegupnp_time_get_type (void) G_GNUC_CONST; /* string */GTypegupnp_time_tz_get_type (void) G_GNUC_CONST; /* string */GTypegupnp_uri_get_type (void) G_GNUC_CONST; /* string */GTypegupnp_uuid_get_type (void) G_GNUC_CONST; /* string */#define gupnp_value_get_xml_node( value ) \ (xmlNode *) g_value_get_boxed ((value))#define gupnp_value_get_string( value ) \ (const char *) g_value_get_boxed ((value))G_END_DECLS#endif /* __GUPNP_TYPES_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -