changeset 16672:516f14bef90e

Initial addition of padding for ui_ops and other class-like structs
author Gary Kramlich <grim@reaperworld.com>
date Sun, 29 Apr 2007 22:02:47 +0000
parents e2fc81093e88
children 6531f1a2e1d7
files libpurple/account.h libpurple/blist.h libpurple/cipher.h libpurple/connection.h libpurple/conversation.h libpurple/core.h libpurple/debug.h libpurple/dnsquery.h libpurple/eventloop.h libpurple/ft.h libpurple/idle.h libpurple/log.h libpurple/notify.h libpurple/plugin.h libpurple/privacy.h libpurple/prpl.h libpurple/request.h libpurple/roomlist.h libpurple/sound.h libpurple/sslconn.h libpurple/whiteboard.h
diffstat 21 files changed, 117 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/account.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/account.h	Sun Apr 29 22:02:47 2007 +0000
@@ -66,6 +66,11 @@
 				 const char *alias, const char *message, gboolean on_list, 
 				 GCallback authorize_cb, GCallback deny_cb, void *user_data);
 	void (*close_account_request)(void *ui_handle);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 struct _PurpleAccount
--- a/libpurple/blist.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/blist.h	Sun Apr 29 22:02:47 2007 +0000
@@ -178,6 +178,11 @@
 	void (*request_add_chat)(PurpleAccount *account, PurpleGroup *group,
 							 const char *alias, const char *name);
 	void (*request_add_group)(void);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 #ifdef __cplusplus
--- a/libpurple/cipher.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/cipher.h	Sun Apr 29 22:02:47 2007 +0000
@@ -102,6 +102,11 @@
 
 	/** The get key size function */
 	size_t (*get_key_size)(PurpleCipherContext *context);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 #ifdef __cplusplus
--- a/libpurple/connection.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/connection.h	Sun Apr 29 22:02:47 2007 +0000
@@ -71,6 +71,10 @@
 	void (*network_connected)();
 	void (*network_disconnected)();
 
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleConnectionUiOps;
 
 struct _PurpleConnection
--- a/libpurple/conversation.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/conversation.h	Sun Apr 29 22:02:47 2007 +0000
@@ -177,6 +177,11 @@
 	void (*custom_smiley_close)(PurpleConversation *conv, const char *smile);
 
 	void (*send_confirm)(PurpleConversation *conv, const char *message);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 /**
--- a/libpurple/core.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/core.h	Sun Apr 29 22:02:47 2007 +0000
@@ -33,6 +33,10 @@
 	void (*ui_init)(void);
 	void (*quit)(void);
 
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleCoreUiOps;
 
 #ifdef __cplusplus
--- a/libpurple/debug.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/debug.h	Sun Apr 29 22:02:47 2007 +0000
@@ -51,6 +51,11 @@
 				  const char *arg_s);
 	gboolean (*is_enabled)(PurpleDebugLevel level,
 			const char *category);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleDebugUiOps;
 
 #ifdef __cplusplus
--- a/libpurple/dnsquery.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/dnsquery.h	Sun Apr 29 22:02:47 2007 +0000
@@ -57,6 +57,11 @@
 	 * resolve_host is not implemented.
 	 */
 	void (*destroy)(PurpleDnsQueryData *query_data);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleDnsQueryUiOps;
 
 #ifdef __cplusplus
--- a/libpurple/eventloop.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/eventloop.h	Sun Apr 29 22:02:47 2007 +0000
@@ -81,6 +81,10 @@
 	 */
 	int (*input_get_error)(int fd, int *error);
 
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 /**************************************************************************/
--- a/libpurple/ft.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/ft.h	Sun Apr 29 22:02:47 2007 +0000
@@ -77,6 +77,10 @@
 	void (*cancel_local)(PurpleXfer *xfer);
 	void (*cancel_remote)(PurpleXfer *xfer);
 
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleXferUiOps;
 
 /**
--- a/libpurple/idle.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/idle.h	Sun Apr 29 22:02:47 2007 +0000
@@ -31,6 +31,11 @@
 typedef struct
 {
 	time_t (*get_time_idle)(void);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleIdleUiOps;
 
 #ifdef __cplusplus
--- a/libpurple/log.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/log.h	Sun Apr 29 22:02:47 2007 +0000
@@ -109,6 +109,11 @@
 
 	/* Tests whether a log is deletable */
 	gboolean (*is_deletable)(PurpleLog *log);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 /**
--- a/libpurple/notify.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/notify.h	Sun Apr 29 22:02:47 2007 +0000
@@ -171,6 +171,10 @@
 
 	void (*close_notify)(PurpleNotifyType type, void *ui_handle);
 
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleNotifyUiOps;
 
 
--- a/libpurple/plugin.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/plugin.h	Sun Apr 29 22:02:47 2007 +0000
@@ -102,6 +102,11 @@
 	void *extra_info;
 	PurplePluginUiInfo *prefs_info; /**< Used by any plugin to display preferences.  If #ui_info has been specified, this will be ignored. */
 	GList *(*actions)(PurplePlugin *plugin, gpointer context);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 /**
@@ -115,6 +120,11 @@
 	gboolean (*load)(PurplePlugin *plugin);
 	gboolean (*unload)(PurplePlugin *plugin);
 	void     (*destroy)(PurplePlugin *plugin);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 /**
@@ -132,6 +142,11 @@
 	void *extra;                           /**< Plugin-specific data.     */
 	gboolean unloadable;                   /**< Unloadable                */
 	GList *dependent_plugins;              /**< Plugins depending on this */
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 #define PURPLE_PLUGIN_LOADER_INFO(plugin) \
@@ -142,6 +157,11 @@
 
 	int page_num;                                         /**< Reserved */
 	PurplePluginPrefFrame *frame;                           /**< Reserved */
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 #define PURPLE_PLUGIN_HAS_PREF_FRAME(plugin) \
--- a/libpurple/privacy.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/privacy.h	Sun Apr 29 22:02:47 2007 +0000
@@ -53,6 +53,10 @@
 	void (*deny_added)(PurpleAccount *account, const char *name);
 	void (*deny_removed)(PurpleAccount *account, const char *name);
 
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurplePrivacyUiOps;
 
 /**
--- a/libpurple/prpl.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/prpl.h	Sun Apr 29 22:02:47 2007 +0000
@@ -315,6 +315,11 @@
 
 	/* room list serialize */
 	char *(*roomlist_room_serialize)(PurpleRoomlistRoom *room);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 #define PURPLE_IS_PROTOCOL_PLUGIN(plugin) \
--- a/libpurple/request.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/request.h	Sun Apr 29 22:02:47 2007 +0000
@@ -215,6 +215,11 @@
 							GCallback ok_cb, GCallback cancel_cb,
 							PurpleAccount *account, const char *who, PurpleConversation *conv,
 							void *user_data);
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleRequestUiOps;
 
 typedef void (*PurpleRequestInputCb)(void *, const char *);
--- a/libpurple/roomlist.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/roomlist.h	Sun Apr 29 22:02:47 2007 +0000
@@ -105,6 +105,11 @@
 	void (*add_room)(PurpleRoomlist *list, PurpleRoomlistRoom *room); /**< Add a room to the list. */
 	void (*in_progress)(PurpleRoomlist *list, gboolean flag); /**< Are we fetching stuff still? */
 	void (*destroy)(PurpleRoomlist *list); /**< We're destroying list. */
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 
--- a/libpurple/sound.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/sound.h	Sun Apr 29 22:02:47 2007 +0000
@@ -60,6 +60,10 @@
 	void (*play_file)(const char *filename);
 	void (*play_event)(PurpleSoundEventID event);
 
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleSoundUiOps;
 
 #ifdef __cplusplus
--- a/libpurple/sslconn.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/sslconn.h	Sun Apr 29 22:02:47 2007 +0000
@@ -73,6 +73,10 @@
 	size_t (*read)(PurpleSslConnection *gsc, void *data, size_t len);
 	size_t (*write)(PurpleSslConnection *gsc, const void *data, size_t len);
 
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleSslOps;
 
 #ifdef __cplusplus
--- a/libpurple/whiteboard.h	Sun Apr 29 19:47:08 2007 +0000
+++ b/libpurple/whiteboard.h	Sun Apr 29 22:02:47 2007 +0000
@@ -64,6 +64,11 @@
 					  int x2, int y2,
 					  int color, int size);                            /**< draw_line function */
 	void (*clear)(PurpleWhiteboard *wb);                                 /**< clear function */
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 } PurpleWhiteboardUiOps;
 
 /**
@@ -79,6 +84,11 @@
 	void (*set_brush) (PurpleWhiteboard *wb, int size, int color);         /**< set the brush size and color */
 	void (*send_draw_list)(PurpleWhiteboard *wb, GList *draw_list);        /**< send_draw_list function */
 	void (*clear)(PurpleWhiteboard *wb);                                   /**< clear function */
+
+	void (*_purple_reserved1)(void);
+	void (*_purple_reserved2)(void);
+	void (*_purple_reserved3)(void);
+	void (*_purple_reserved4)(void);
 };
 
 #ifdef __cplusplus