diff options
author | Ross Burton <ross@linux.intel.com> | 2009-10-08 12:12:11 +0100 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2009-10-08 12:12:11 +0100 |
commit | d27c340ae9427b4ae9ad55d7d6e044b163b54ba1 (patch) | |
tree | 4e214f29372cf3de587d472d17a8a3bc008b96df | |
parent | 79c88cadb16c3eae9b13a4dc84995872eaa38f86 (diff) | |
download | librest-d27c340ae9427b4ae9ad55d7d6e044b163b54ba1.tar.gz |
Add 8 padding pointers for future use to the core class structs
-rw-r--r-- | rest/rest-proxy-call.h | 4 | ||||
-rw-r--r-- | rest/rest-proxy.h | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/rest/rest-proxy-call.h b/rest/rest-proxy-call.h index 3360156..62da6a0 100644 --- a/rest/rest-proxy-call.h +++ b/rest/rest-proxy-call.h @@ -69,6 +69,10 @@ typedef struct { GObjectClass parent_class; /*< public >*/ gboolean (*prepare)(RestProxyCall *call, GError **error); + + /*< private >*/ + /* padding for future expansion */ + gpointer _padding_dummy[8]; } RestProxyCallClass; #define REST_PROXY_CALL_ERROR rest_proxy_call_error_quark () diff --git a/rest/rest-proxy.h b/rest/rest-proxy.h index d19ab7a..eaedb2b 100644 --- a/rest/rest-proxy.h +++ b/rest/rest-proxy.h @@ -69,10 +69,15 @@ typedef struct { */ typedef struct { GObjectClass parent_class; + /*< public >*/ gboolean (*bind_valist)(RestProxy *proxy, va_list params); RestProxyCall *(*new_call)(RestProxy *proxy); - gboolean (*simple_run_valist)(RestProxy *proxy, gchar **payload, + gboolean (*simple_run_valist)(RestProxy *proxy, gchar **payload, goffset *len, GError **error, va_list params); + + /*< private >*/ + /* padding for future expansion */ + gpointer _padding_dummy[8]; } RestProxyClass; #define REST_PROXY_ERROR rest_proxy_error_quark () |