libpaf 1.1.13
|
Pathfinder Client Library's Subscription Match-related Data Structure. More...
Go to the source code of this file.
Typedefs | |
typedef void(* | paf_match_cb) (enum paf_match_type match_type, int64_t service_id, const struct paf_props *props, void *user) |
Enumerations | |
enum | paf_match_type { paf_match_type_appeared , paf_match_type_modified , paf_match_type_disappeared } |
Pathfinder Client Library's Subscription Match-related Data Structure.
typedef void(* paf_match_cb) (enum paf_match_type match_type, int64_t service_id, const struct paf_props *props, void *user) |
Callback to notify the application of matching services.
A subscription callback may not call back into any paf.h core API functions taking the current context as it's input (e.g. paf_subscribe(), paf_unsubscribe() etc). Such calls must be defered to after the callback has returned. Calls to other Pathfinder API functions, for example functions in paf_props.h or paf_value.h may be made.
[in] | service_id | The service id of the matching service. |
[in] | props | The properties of the matching service. NULL for disappeared type matches. |
[in] | match_type | The type of match. |
[in] | user | An application-supplied pointer (see paf_subscribe()). |
enum paf_match_type |
Type of subscription match.