_gen-tp-constants.h   _gen-tp-constants.h 
skipping to change at line 33 skipping to change at line 33
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* TpConnMgrParamFlags (bitfield/set of flags, 0 for none) */ /* TpConnMgrParamFlags (bitfield/set of flags, 0 for none) */
typedef enum { typedef enum {
TP_CONN_MGR_PARAM_FLAG_REQUIRED = 1, TP_CONN_MGR_PARAM_FLAG_REQUIRED = 1,
TP_CONN_MGR_PARAM_FLAG_REGISTER = 2, TP_CONN_MGR_PARAM_FLAG_REGISTER = 2,
TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT = 4, TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT = 4,
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
LAST_TP_CONN_MGR_PARAM_FLAG = 4 + 1 LAST_TP_CONN_MGR_PARAM_FLAG = 4 + 1
#endif
} TelepathyConnMgrParamFlags; } TelepathyConnMgrParamFlags;
/* TpHandleType (enum) */ /* TpHandleType (enum) */
typedef enum { typedef enum {
TP_CONN_HANDLE_TYPE_NONE = 0, TP_HANDLE_TYPE_NONE = 0,
TP_CONN_HANDLE_TYPE_CONTACT = 1, TP_HANDLE_TYPE_CONTACT = 1,
TP_CONN_HANDLE_TYPE_ROOM = 2, TP_HANDLE_TYPE_ROOM = 2,
TP_CONN_HANDLE_TYPE_LIST = 3, TP_HANDLE_TYPE_LIST = 3,
TP_CONN_HANDLE_TYPE_GROUP = 4, TP_HANDLE_TYPE_GROUP = 4,
LAST_TP_CONN_HANDLE_TYPE = 4 + 1 NUM_TP_HANDLE_TYPES
} TelepathyHandleType; } TelepathyHandleType;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_HANDLE_TYPE NUM_TP_HANDLE_TYPES
#endif
/* TpConnectionStatus (enum) */ /* TpConnectionStatus (enum) */
typedef enum { typedef enum {
TP_CONN_STATUS_CONNECTED = 0, TP_CONN_STATUS_CONNECTED = 0,
TP_CONN_STATUS_CONNECTING = 1, TP_CONN_STATUS_CONNECTING = 1,
TP_CONN_STATUS_DISCONNECTED = 2, TP_CONN_STATUS_DISCONNECTED = 2,
LAST_TP_CONN_STATUS = 2 + 1 NUM_TP_CONN_STATUSES
} TelepathyConnectionStatus; } TelepathyConnectionStatus;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_CONN_STATUS NUM_TP_CONN_STATUSES
#endif
/* TpConnectionStatusReason (enum) */ /* TpConnectionStatusReason (enum) */
typedef enum { typedef enum {
TP_CONN_STATUS_REASON_NONE_SPECIFIED = 0, TP_CONN_STATUS_REASON_NONE_SPECIFIED = 0,
TP_CONN_STATUS_REASON_REQUESTED = 1, TP_CONN_STATUS_REASON_REQUESTED = 1,
TP_CONN_STATUS_REASON_NETWORK_ERROR = 2, TP_CONN_STATUS_REASON_NETWORK_ERROR = 2,
TP_CONN_STATUS_REASON_AUTHENTICATION_FAILED = 3, TP_CONN_STATUS_REASON_AUTHENTICATION_FAILED = 3,
TP_CONN_STATUS_REASON_ENCRYPTION_ERROR = 4, TP_CONN_STATUS_REASON_ENCRYPTION_ERROR = 4,
TP_CONN_STATUS_REASON_NAME_IN_USE = 5, TP_CONN_STATUS_REASON_NAME_IN_USE = 5,
TP_CONN_STATUS_REASON_CERT_NOT_PROVIDED = 6, TP_CONN_STATUS_REASON_CERT_NOT_PROVIDED = 6,
TP_CONN_STATUS_REASON_CERT_UNTRUSTED = 7, TP_CONN_STATUS_REASON_CERT_UNTRUSTED = 7,
TP_CONN_STATUS_REASON_CERT_EXPIRED = 8, TP_CONN_STATUS_REASON_CERT_EXPIRED = 8,
TP_CONN_STATUS_REASON_CERT_NOT_ACTIVATED = 9, TP_CONN_STATUS_REASON_CERT_NOT_ACTIVATED = 9,
TP_CONN_STATUS_REASON_CERT_HOSTNAME_MISMATCH = 10, TP_CONN_STATUS_REASON_CERT_HOSTNAME_MISMATCH = 10,
TP_CONN_STATUS_REASON_CERT_FINGERPRINT_MISMATCH = 11, TP_CONN_STATUS_REASON_CERT_FINGERPRINT_MISMATCH = 11,
TP_CONN_STATUS_REASON_CERT_SELF_SIGNED = 12, TP_CONN_STATUS_REASON_CERT_SELF_SIGNED = 12,
TP_CONN_STATUS_REASON_CERT_OTHER_ERROR = 13, TP_CONN_STATUS_REASON_CERT_OTHER_ERROR = 13,
LAST_TP_CONN_STATUS_REASON = 13 + 1 NUM_TP_CONN_STATUS_REASONS
} TelepathyConnectionStatusReason; } TelepathyConnectionStatusReason;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_CONN_STATUS_REASON NUM_TP_CONN_STATUS_REASONS
#endif
/* TpConnectionAliasFlags (bitfield/set of flags, 0 for none) */ /* TpConnectionAliasFlags (bitfield/set of flags, 0 for none) */
typedef enum { typedef enum {
TP_CONN_ALIAS_FLAG_USER_SET = 1, TP_CONN_ALIAS_FLAG_USER_SET = 1,
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
LAST_TP_CONN_ALIAS_FLAG = 1 + 1 LAST_TP_CONN_ALIAS_FLAG = 1 + 1
#endif
} TelepathyConnectionAliasFlags; } TelepathyConnectionAliasFlags;
/* TpConnectionCapabilityFlags (bitfield/set of flags, 0 for none) */ /* TpConnectionCapabilityFlags (bitfield/set of flags, 0 for none) */
typedef enum { typedef enum {
TP_CONN_CAPABILITY_FLAG_CREATE = 1, TP_CONN_CAPABILITY_FLAG_CREATE = 1,
TP_CONN_CAPABILITY_FLAG_INVITE = 2, TP_CONN_CAPABILITY_FLAG_INVITE = 2,
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
LAST_TP_CONN_CAPABILITY_FLAG = 2 + 1 LAST_TP_CONN_CAPABILITY_FLAG = 2 + 1
#endif
} TelepathyConnectionCapabilityFlags; } TelepathyConnectionCapabilityFlags;
/* TpConnectionPresenceType (enum) */ /* TpConnectionPresenceType (enum) */
typedef enum { typedef enum {
TP_CONN_PRESENCE_TYPE_UNSET = 0, TP_CONN_PRESENCE_TYPE_UNSET = 0,
TP_CONN_PRESENCE_TYPE_OFFLINE = 1, TP_CONN_PRESENCE_TYPE_OFFLINE = 1,
TP_CONN_PRESENCE_TYPE_AVAILABLE = 2, TP_CONN_PRESENCE_TYPE_AVAILABLE = 2,
TP_CONN_PRESENCE_TYPE_AWAY = 3, TP_CONN_PRESENCE_TYPE_AWAY = 3,
TP_CONN_PRESENCE_TYPE_EXTENDED_AWAY = 4, TP_CONN_PRESENCE_TYPE_EXTENDED_AWAY = 4,
TP_CONN_PRESENCE_TYPE_HIDDEN = 5, TP_CONN_PRESENCE_TYPE_HIDDEN = 5,
LAST_TP_CONN_PRESENCE_TYPE = 5 + 1 NUM_TP_CONN_PRESENCE_TYPES
} TelepathyConnectionPresenceType; } TelepathyConnectionPresenceType;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_CONN_PRESENCE_TYPE NUM_TP_CONN_PRESENCE_TYPES
#endif
/* TpChannelContactSearchState (enum) */ /* TpChannelContactSearchState (enum) */
typedef enum { typedef enum {
TP_CHANNEL_CONTACT_SEARCH_STATE_BEFORE = 0, TP_CHANNEL_CONTACT_SEARCH_STATE_BEFORE = 0,
TP_CHANNEL_CONTACT_SEARCH_STATE_DURING = 1, TP_CHANNEL_CONTACT_SEARCH_STATE_DURING = 1,
TP_CHANNEL_CONTACT_SEARCH_STATE_AFTER = 2, TP_CHANNEL_CONTACT_SEARCH_STATE_AFTER = 2,
LAST_TP_CHANNEL_CONTACT_SEARCH_STATE = 2 + 1 NUM_TP_CHANNEL_CONTACT_SEARCH_STATES
} TelepathyChannelContactSearchState; } TelepathyChannelContactSearchState;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_CHANNEL_CONTACT_SEARCH_STATE NUM_TP_CHANNEL_CONTACT_SEARCH_
STATES
#endif
/* TpMediaStreamType (enum) */ /* TpMediaStreamType (enum) */
typedef enum { typedef enum {
TP_MEDIA_STREAM_TYPE_AUDIO = 0, TP_MEDIA_STREAM_TYPE_AUDIO = 0,
TP_MEDIA_STREAM_TYPE_VIDEO = 1, TP_MEDIA_STREAM_TYPE_VIDEO = 1,
LAST_TP_MEDIA_STREAM_TYPE = 1 + 1 NUM_TP_MEDIA_STREAM_TYPES
} TelepathyMediaStreamType; } TelepathyMediaStreamType;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_MEDIA_STREAM_TYPE NUM_TP_MEDIA_STREAM_TYPES
#endif
/* TpMediaStreamState (enum) */ /* TpMediaStreamState (enum) */
typedef enum { typedef enum {
TP_MEDIA_STREAM_STATE_DISCONNECTED = 0, TP_MEDIA_STREAM_STATE_DISCONNECTED = 0,
TP_MEDIA_STREAM_STATE_CONNECTING = 1, TP_MEDIA_STREAM_STATE_CONNECTING = 1,
TP_MEDIA_STREAM_STATE_CONNECTED = 2, TP_MEDIA_STREAM_STATE_CONNECTED = 2,
LAST_TP_MEDIA_STREAM_STATE = 2 + 1 NUM_TP_MEDIA_STREAM_STATES
} TelepathyMediaStreamState; } TelepathyMediaStreamState;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_MEDIA_STREAM_STATE NUM_TP_MEDIA_STREAM_STATES
#endif
/* TpMediaStreamDirection (enum) */ /* TpMediaStreamDirection (enum) */
typedef enum { typedef enum {
TP_MEDIA_STREAM_DIRECTION_NONE = 0, TP_MEDIA_STREAM_DIRECTION_NONE = 0,
TP_MEDIA_STREAM_DIRECTION_SEND = 1, TP_MEDIA_STREAM_DIRECTION_SEND = 1,
TP_MEDIA_STREAM_DIRECTION_RECEIVE = 2, TP_MEDIA_STREAM_DIRECTION_RECEIVE = 2,
TP_MEDIA_STREAM_DIRECTION_BIDIRECTIONAL = 3, TP_MEDIA_STREAM_DIRECTION_BIDIRECTIONAL = 3,
LAST_TP_MEDIA_STREAM_DIRECTION = 3 + 1 NUM_TP_MEDIA_STREAM_DIRECTIONS
} TelepathyMediaStreamDirection; } TelepathyMediaStreamDirection;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_MEDIA_STREAM_DIRECTION NUM_TP_MEDIA_STREAM_DIRECTIONS
#endif
/* TpMediaStreamPendingSend (bitfield/set of flags, 0 for none) */ /* TpMediaStreamPendingSend (bitfield/set of flags, 0 for none) */
typedef enum { typedef enum {
TP_MEDIA_STREAM_PENDING_LOCAL_SEND = 1, TP_MEDIA_STREAM_PENDING_LOCAL_SEND = 1,
TP_MEDIA_STREAM_PENDING_REMOTE_SEND = 2, TP_MEDIA_STREAM_PENDING_REMOTE_SEND = 2,
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
LAST_TP_MEDIA_STREAM_PENDING = 2 + 1 LAST_TP_MEDIA_STREAM_PENDING = 2 + 1
#endif
} TelepathyMediaStreamPendingSend; } TelepathyMediaStreamPendingSend;
/* TpChannelMediaCapabilities (bitfield/set of flags, 0 for none) */ /* TpChannelMediaCapabilities (bitfield/set of flags, 0 for none) */
/* /*
The channel-type-specific capability flags used for The channel-type-specific capability flags used for
Channel.Type.StreamedMedia in the Connection.Interface.Capabilities Channel.Type.StreamedMedia in the Connection.Interface.Capabilities
interface. interface.
*/ */
typedef enum { typedef enum {
TP_CHANNEL_MEDIA_CAPABILITY_AUDIO = 1, TP_CHANNEL_MEDIA_CAPABILITY_AUDIO = 1,
TP_CHANNEL_MEDIA_CAPABILITY_VIDEO = 2, TP_CHANNEL_MEDIA_CAPABILITY_VIDEO = 2,
TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_STUN = 4, TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_STUN = 4,
TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_GTALK_P2P = 8, TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_GTALK_P2P = 8,
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
LAST_TP_CHANNEL_MEDIA_CAPABILITY = 8 + 1 LAST_TP_CHANNEL_MEDIA_CAPABILITY = 8 + 1
#endif
} TelepathyChannelMediaCapabilities; } TelepathyChannelMediaCapabilities;
/* TpChannelTextSendError (enum) */ /* TpChannelTextSendError (enum) */
typedef enum { typedef enum {
TP_CHANNEL_TEXT_SEND_ERROR_UNKNOWN = 0, TP_CHANNEL_TEXT_SEND_ERROR_UNKNOWN = 0,
TP_CHANNEL_TEXT_SEND_ERROR_OFFLINE = 1, TP_CHANNEL_TEXT_SEND_ERROR_OFFLINE = 1,
TP_CHANNEL_TEXT_SEND_ERROR_INVALID_CONTACT = 2, TP_CHANNEL_TEXT_SEND_ERROR_INVALID_CONTACT = 2,
TP_CHANNEL_TEXT_SEND_ERROR_PERMISSION_DENIED = 3, TP_CHANNEL_TEXT_SEND_ERROR_PERMISSION_DENIED = 3,
TP_CHANNEL_TEXT_SEND_ERROR_TOO_LONG = 4, TP_CHANNEL_TEXT_SEND_ERROR_TOO_LONG = 4,
TP_CHANNEL_TEXT_SEND_ERROR_NOT_IMPLEMENTED = 5, TP_CHANNEL_TEXT_SEND_ERROR_NOT_IMPLEMENTED = 5,
LAST_TP_CHANNEL_TEXT_SEND_ERROR = 5 + 1 NUM_TP_CHANNEL_TEXT_SEND_ERRORS
} TelepathyChannelTextSendError; } TelepathyChannelTextSendError;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_CHANNEL_TEXT_SEND_ERROR NUM_TP_CHANNEL_TEXT_SEND_ERRORS
#endif
/* TpChannelTextMessageType (enum) */ /* TpChannelTextMessageType (enum) */
typedef enum { typedef enum {
TP_CHANNEL_TEXT_MESSAGE_TYPE_NORMAL = 0, TP_CHANNEL_TEXT_MESSAGE_TYPE_NORMAL = 0,
TP_CHANNEL_TEXT_MESSAGE_TYPE_ACTION = 1, TP_CHANNEL_TEXT_MESSAGE_TYPE_ACTION = 1,
TP_CHANNEL_TEXT_MESSAGE_TYPE_NOTICE = 2, TP_CHANNEL_TEXT_MESSAGE_TYPE_NOTICE = 2,
TP_CHANNEL_TEXT_MESSAGE_TYPE_AUTO_REPLY = 3, TP_CHANNEL_TEXT_MESSAGE_TYPE_AUTO_REPLY = 3,
LAST_TP_CHANNEL_TEXT_MESSAGE_TYPE = 3 + 1 NUM_TP_CHANNEL_TEXT_MESSAGE_TYPES
} TelepathyChannelTextMessageType; } TelepathyChannelTextMessageType;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_CHANNEL_TEXT_MESSAGE_TYPE NUM_TP_CHANNEL_TEXT_MESSAGE_TYPES
#endif
/* TpChannelTextMessageFlags (bitfield/set of flags, 0 for none) */ /* TpChannelTextMessageFlags (bitfield/set of flags, 0 for none) */
typedef enum { typedef enum {
TP_CHANNEL_TEXT_MESSAGE_FLAG_TRUNCATED = 1, TP_CHANNEL_TEXT_MESSAGE_FLAG_TRUNCATED = 1,
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
LAST_TP_CHANNEL_TEXT_MESSAGE_FLAG = 1 + 1 LAST_TP_CHANNEL_TEXT_MESSAGE_FLAG = 1 + 1
#endif
} TelepathyChannelTextMessageFlags; } TelepathyChannelTextMessageFlags;
/* TpChannelChatState (enum) */ /* TpChannelChatState (enum) */
typedef enum { typedef enum {
TP_CHANNEL_CHAT_STATE_GONE = 0, TP_CHANNEL_CHAT_STATE_GONE = 0,
TP_CHANNEL_CHAT_STATE_INACTIVE = 1, TP_CHANNEL_CHAT_STATE_INACTIVE = 1,
TP_CHANNEL_CHAT_STATE_ACTIVE = 2, TP_CHANNEL_CHAT_STATE_ACTIVE = 2,
TP_CHANNEL_CHAT_STATE_PAUSED = 3, TP_CHANNEL_CHAT_STATE_PAUSED = 3,
TP_CHANNEL_CHAT_STATE_COMPOSING = 4, TP_CHANNEL_CHAT_STATE_COMPOSING = 4,
LAST_TP_CHANNEL_CHAT_STATE = 4 + 1 NUM_TP_CHANNEL_CHAT_STATES
} TelepathyChannelChatState; } TelepathyChannelChatState;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_CHANNEL_CHAT_STATE NUM_TP_CHANNEL_CHAT_STATES
#endif
/* TpChannelGroupFlags (bitfield/set of flags, 0 for none) */ /* TpChannelGroupFlags (bitfield/set of flags, 0 for none) */
typedef enum { typedef enum {
TP_CHANNEL_GROUP_FLAG_CAN_ADD = 1, TP_CHANNEL_GROUP_FLAG_CAN_ADD = 1,
TP_CHANNEL_GROUP_FLAG_CAN_REMOVE = 2, TP_CHANNEL_GROUP_FLAG_CAN_REMOVE = 2,
TP_CHANNEL_GROUP_FLAG_CAN_RESCIND = 4, TP_CHANNEL_GROUP_FLAG_CAN_RESCIND = 4,
TP_CHANNEL_GROUP_FLAG_MESSAGE_ADD = 8, TP_CHANNEL_GROUP_FLAG_MESSAGE_ADD = 8,
TP_CHANNEL_GROUP_FLAG_MESSAGE_REMOVE = 16, TP_CHANNEL_GROUP_FLAG_MESSAGE_REMOVE = 16,
TP_CHANNEL_GROUP_FLAG_MESSAGE_ACCEPT = 32, TP_CHANNEL_GROUP_FLAG_MESSAGE_ACCEPT = 32,
TP_CHANNEL_GROUP_FLAG_MESSAGE_REJECT = 64, TP_CHANNEL_GROUP_FLAG_MESSAGE_REJECT = 64,
TP_CHANNEL_GROUP_FLAG_MESSAGE_RESCIND = 128, TP_CHANNEL_GROUP_FLAG_MESSAGE_RESCIND = 128,
TP_CHANNEL_GROUP_FLAG_CHANNEL_SPECIFIC_HANDLES = 256, TP_CHANNEL_GROUP_FLAG_CHANNEL_SPECIFIC_HANDLES = 256,
TP_CHANNEL_GROUP_FLAG_ONLY_ONE_GROUP = 512, TP_CHANNEL_GROUP_FLAG_ONLY_ONE_GROUP = 512,
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
LAST_TP_CHANNEL_GROUP_FLAG = 512 + 1 LAST_TP_CHANNEL_GROUP_FLAG = 512 + 1
#endif
} TelepathyChannelGroupFlags; } TelepathyChannelGroupFlags;
/* TpChannelGroupChangeReason (enum) */ /* TpChannelGroupChangeReason (enum) */
typedef enum { typedef enum {
TP_CHANNEL_GROUP_CHANGE_REASON_NONE = 0, TP_CHANNEL_GROUP_CHANGE_REASON_NONE = 0,
TP_CHANNEL_GROUP_CHANGE_REASON_OFFLINE = 1, TP_CHANNEL_GROUP_CHANGE_REASON_OFFLINE = 1,
TP_CHANNEL_GROUP_CHANGE_REASON_KICKED = 2, TP_CHANNEL_GROUP_CHANGE_REASON_KICKED = 2,
TP_CHANNEL_GROUP_CHANGE_REASON_BUSY = 3, TP_CHANNEL_GROUP_CHANGE_REASON_BUSY = 3,
TP_CHANNEL_GROUP_CHANGE_REASON_INVITED = 4, TP_CHANNEL_GROUP_CHANGE_REASON_INVITED = 4,
TP_CHANNEL_GROUP_CHANGE_REASON_BANNED = 5, TP_CHANNEL_GROUP_CHANGE_REASON_BANNED = 5,
TP_CHANNEL_GROUP_CHANGE_REASON_ERROR = 6, TP_CHANNEL_GROUP_CHANGE_REASON_ERROR = 6,
TP_CHANNEL_GROUP_CHANGE_REASON_INVALID_CONTACT = 7, TP_CHANNEL_GROUP_CHANGE_REASON_INVALID_CONTACT = 7,
TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER = 8, TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER = 8,
LAST_TP_CHANNEL_GROUP_CHANGE_REASON = 8 + 1 NUM_TP_CHANNEL_GROUP_CHANGE_REASONS
} TelepathyChannelGroupChangeReason; } TelepathyChannelGroupChangeReason;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_CHANNEL_GROUP_CHANGE_REASON NUM_TP_CHANNEL_GROUP_CHANGE_REA
SONS
#endif
/* TpChannelHoldState (enum) */ /* TpChannelHoldState (enum) */
typedef enum { typedef enum {
TP_CHANNEL_HOLD_STATE_NONE = 0, TP_CHANNEL_HOLD_STATE_NONE = 0,
TP_CHANNEL_HOLD_STATE_SEND_ONLY = 1, TP_CHANNEL_HOLD_STATE_SEND_ONLY = 1,
TP_CHANNEL_HOLD_STATE_RECV_ONLY = 2, TP_CHANNEL_HOLD_STATE_RECV_ONLY = 2,
TP_CHANNEL_HOLD_STATE_BOTH = 3, TP_CHANNEL_HOLD_STATE_BOTH = 3,
LAST_TP_CHANNEL_HOLD_STATE = 3 + 1 NUM_TP_CHANNEL_HOLD_STATES
} TelepathyChannelHoldState; } TelepathyChannelHoldState;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_CHANNEL_HOLD_STATE NUM_TP_CHANNEL_HOLD_STATES
#endif
/* TpChannelPasswordFlags (bitfield/set of flags, 0 for none) */ /* TpChannelPasswordFlags (bitfield/set of flags, 0 for none) */
typedef enum { typedef enum {
TP_CHANNEL_PASSWORD_FLAG_PROVIDE = 8, TP_CHANNEL_PASSWORD_FLAG_PROVIDE = 8,
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
LAST_TP_CHANNEL_PASSWORD_FLAG = 8 + 1 LAST_TP_CHANNEL_PASSWORD_FLAG = 8 + 1
#endif
} TelepathyChannelPasswordFlags; } TelepathyChannelPasswordFlags;
/* TpMediaStreamError (enum) */ /* TpMediaStreamError (enum) */
typedef enum { typedef enum {
TP_MEDIA_STREAM_ERROR_UNKNOWN = 0, TP_MEDIA_STREAM_ERROR_UNKNOWN = 0,
TP_MEDIA_STREAM_ERROR_EOS = 1, TP_MEDIA_STREAM_ERROR_EOS = 1,
LAST_TP_MEDIA_STREAM_ERROR = 1 + 1 NUM_TP_MEDIA_STREAM_ERRORS
} TelepathyMediaStreamError; } TelepathyMediaStreamError;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_MEDIA_STREAM_ERROR NUM_TP_MEDIA_STREAM_ERRORS
#endif
/* TpMediaStreamBaseProto (enum) */ /* TpMediaStreamBaseProto (enum) */
typedef enum { typedef enum {
TP_MEDIA_STREAM_BASE_PROTO_UDP = 0, TP_MEDIA_STREAM_BASE_PROTO_UDP = 0,
TP_MEDIA_STREAM_BASE_PROTO_TCP = 1, TP_MEDIA_STREAM_BASE_PROTO_TCP = 1,
LAST_TP_MEDIA_STREAM_BASE_PROTO = 1 + 1 NUM_TP_MEDIA_STREAM_BASE_PROTOS
} TelepathyMediaStreamBaseProto; } TelepathyMediaStreamBaseProto;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_MEDIA_STREAM_BASE_PROTO NUM_TP_MEDIA_STREAM_BASE_PROTOS
#endif
/* TpMediaStreamTransportType (enum) */ /* TpMediaStreamTransportType (enum) */
typedef enum { typedef enum {
TP_MEDIA_STREAM_TRANSPORT_TYPE_LOCAL = 0, TP_MEDIA_STREAM_TRANSPORT_TYPE_LOCAL = 0,
TP_MEDIA_STREAM_TRANSPORT_TYPE_DERIVED = 1, TP_MEDIA_STREAM_TRANSPORT_TYPE_DERIVED = 1,
TP_MEDIA_STREAM_TRANSPORT_TYPE_RELAY = 2, TP_MEDIA_STREAM_TRANSPORT_TYPE_RELAY = 2,
LAST_TP_MEDIA_STREAM_TRANSPORT_TYPE = 2 + 1 NUM_TP_MEDIA_STREAM_TRANSPORT_TYPES
} TelepathyMediaStreamTransportType; } TelepathyMediaStreamTransportType;
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
#define LAST_TP_MEDIA_STREAM_TRANSPORT_TYPE NUM_TP_MEDIA_STREAM_TRANSPORT_T
YPES
#endif
/* TpPropertyFlags (bitfield/set of flags, 0 for none) */ /* TpPropertyFlags (bitfield/set of flags, 0 for none) */
typedef enum { typedef enum {
TP_PROPERTY_FLAG_READ = 1, TP_PROPERTY_FLAG_READ = 1,
TP_PROPERTY_FLAG_WRITE = 2, TP_PROPERTY_FLAG_WRITE = 2,
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
LAST_TP_PROPERTY_FLAG = 2 + 1 LAST_TP_PROPERTY_FLAG = 2 + 1
#endif
} TelepathyPropertyFlags; } TelepathyPropertyFlags;
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
 End of changes. 50 change blocks. 
21 lines changed or deleted 90 lines changed or added


 tp-constants.h   tp-constants.h 
skipping to change at line 29 skipping to change at line 29
*/ */
#ifndef __TELEPATHY_CONSTANTS_H__ #ifndef __TELEPATHY_CONSTANTS_H__
#define __TELEPATHY_CONSTANTS_H__ #define __TELEPATHY_CONSTANTS_H__
#include <glib.h> #include <glib.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#include <libtelepathy/_gen-tp-constants.h> #include <libtelepathy/_gen-tp-constants.h>
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED
/* Fixup for bits of libtelepathy that didn't follow convention */ /* Fixup for bits of libtelepathy that didn't follow convention */
/* handle type is officially no longer called "connection handle type" */
#define TP_CONN_HANDLE_TYPE_NONE TP_HANDLE_TYPE_NONE
#define TP_CONN_HANDLE_TYPE_CONTACT TP_HANDLE_TYPE_CONTACT
#define TP_CONN_HANDLE_TYPE_ROOM TP_HANDLE_TYPE_ROOM
#define TP_CONN_HANDLE_TYPE_LIST TP_HANDLE_TYPE_LIST
#define TP_CONN_HANDLE_TYPE_GROUP TP_HANDLE_TYPE_GROUP
#define LAST_TP_CONN_HANDLE_TYPE LAST_TP_HANDLE_TYPE
#define TelepathyConnectionHandleType TelepathyHandleType
/* A historical typo */
#define TP_MEDIA_STREAM_DIRECTION_RECIEVE TP_MEDIA_STREAM_DIRECTION_RECEIVE
/* Namespace pollution, but needed for compatibility */ /* Namespace pollution, but needed for compatibility */
#define ConnectionAliasFlags TelepathyConnectionAliasFlags #define ConnectionAliasFlags TelepathyConnectionAliasFlags
/* Connection_Capability_Flags used to be Connection_Capability_Type */ /* Connection_Capability_Flags used to be Connection_Capability_Type */
#define TP_CONN_CAPABILITY_TYPE_CREATE TP_CONN_CAPABILITY_FLAG_CREATE #define TP_CONN_CAPABILITY_TYPE_CREATE TP_CONN_CAPABILITY_FLAG_CREATE
#define TP_CONN_CAPABILITY_TYPE_INVITE TP_CONN_CAPABILITY_FLAG_INVITE #define TP_CONN_CAPABILITY_TYPE_INVITE TP_CONN_CAPABILITY_FLAG_INVITE
#define LAST_TP_CONN_CAPABILITY_TYPE LAST_TP_CONN_CAPABILITY_FLAG #define LAST_TP_CONN_CAPABILITY_TYPE LAST_TP_CONN_CAPABILITY_FLAG
#define TelepathyConnectionCapabilityType TelepathyConnectionCapabilityFlag s #define TelepathyConnectionCapabilityType TelepathyConnectionCapabilityFlag s
/* Unconventional singular names for flag-set type */ /* Unconventional singular names for flag-set type */
skipping to change at line 71 skipping to change at line 85
#define TP_MEDIA_STREAM_PROTO_TCP TP_MEDIA_STREAM_BASE_PROTO_TCP #define TP_MEDIA_STREAM_PROTO_TCP TP_MEDIA_STREAM_BASE_PROTO_TCP
#define LAST_TP_MEDIA_STREAM_PROTO LAST_TP_MEDIA_STREAM_BASE_PROTO #define LAST_TP_MEDIA_STREAM_PROTO LAST_TP_MEDIA_STREAM_BASE_PROTO
#define TelepathyMediaStreamProto TelepathyMediaStreamBaseProto #define TelepathyMediaStreamProto TelepathyMediaStreamBaseProto
/* This naming just isn't in the spec, perhaps it used to be... */ /* This naming just isn't in the spec, perhaps it used to be... */
#define TP_CODEC_MEDIA_TYPE_AUDIO TP_MEDIA_STREAM_TYPE_AUDIO #define TP_CODEC_MEDIA_TYPE_AUDIO TP_MEDIA_STREAM_TYPE_AUDIO
#define TP_CODEC_MEDIA_TYPE_VIDEO TP_MEDIA_STREAM_TYPE_VIDEO #define TP_CODEC_MEDIA_TYPE_VIDEO TP_MEDIA_STREAM_TYPE_VIDEO
#define LAST_TP_CODEC_MEDIA_TYPE LAST_TP_MEDIA_STREAM_TYPE #define LAST_TP_CODEC_MEDIA_TYPE LAST_TP_MEDIA_STREAM_TYPE
#define TelepathyCodecMediaType TelepathyMediaStreamType #define TelepathyCodecMediaType TelepathyMediaStreamType
#endif /* !defined(LIBTELEPATHY_DISABLE_DEPRECATED) */
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
0 lines changed or deleted 16 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/