summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-connection-manager.h
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2007-08-23 13:44:32 +0000
committerWill Thompson <will@willthompson.co.uk>2007-08-23 13:44:32 +0000
commit22b1fb475da634766740c82fbe55ce64fd7fb37f (patch)
tree941267ae11524221b705cff2e4f3bf40b43abb8b /telepathy-glib/base-connection-manager.h
parent6f7ffcb54a9cae5b14b1fdfebeba85b4adef179a (diff)
downloadtelepathy-glib-22b1fb475da634766740c82fbe55ce64fd7fb37f.tar.gz
Add set_param to TpCMProtocolSpec and use it, defaulting to tp_cm_param_setter_offset
20070823134432-4210b-df1ac6f57c64192c5d9ca9173bfccf6202e3e280.gz
Diffstat (limited to 'telepathy-glib/base-connection-manager.h')
-rw-r--r--telepathy-glib/base-connection-manager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/telepathy-glib/base-connection-manager.h b/telepathy-glib/base-connection-manager.h
index 6a1c90031..3f61bca72 100644
--- a/telepathy-glib/base-connection-manager.h
+++ b/telepathy-glib/base-connection-manager.h
@@ -160,10 +160,13 @@ tp_cm_param_setter_offset (const TpCMParamSpec *paramspec, const GValue *value,
* @params_free: A function which deallocates the opaque data structure
* provided by #params_new, including deallocating its
* data members (currently, only strings) if necessary.
+ * @set_param: A function which sets a parameter within the opaque data
+ * structure provided by #params_new. If %NULL,
+ * #tp_cm_param_setter_offset will be used.
*
* Structure representing a connection manager protocol.
*
- * In addition to the fields documented here, there are four gpointer fields
+ * In addition to the fields documented here, there are three gpointer fields
* which must currently be %NULL. A meaning may be defined for these in a
* future version of telepathy-glib.
*/
@@ -172,12 +175,12 @@ typedef struct {
const TpCMParamSpec *parameters;
gpointer (*params_new) (void);
void (*params_free) (gpointer);
+ TpCMParamSetter set_param;
/*<private>*/
gpointer _future1;
gpointer _future2;
gpointer _future3;
- gpointer _future4;
} TpCMProtocolSpec;
/**