Ticket #1019 (closed task: fixed)
Change Plugin Function parameter list (user-data pointer)
| Reported by: | dgollub | Owned by: | bricks |
|---|---|---|---|
| Priority: | high | Milestone: | OpenSync 0.39 |
| Component: | OpenSync: Plugin API | Version: | 0.38 |
| Severity: | blocker | Keywords: | |
| Cc: |
Description (last modified by dgollub) (diff)
Bjoern and myself discussed based on the thread on opensync-devel@ about the use of user-data pointer in Plugin functions. This is related to #1017. The summary is:
- Make a common parameter list-layout of all plugin functions
- Since format-plugin and sink-function interfaces got moved all user-data pointers to the end so we should for plugin-functions
Affected interfaces:
typedef void * (* initialize_fn) (OSyncPlugin *, OSyncPluginInfo *, OSyncError **); typedef void (* finalize_fn) (void *); typedef osync_bool (* discover_fn) (void *, OSyncPluginInfo *, OSyncError **);
Change History
Note: See
TracTickets for help on using
tickets.
