Loading doc/gupnp-sections.txt +3 −3 Original line number Diff line number Diff line Loading @@ -453,10 +453,10 @@ GUPnPWhiteList gupnp_white_list_add_entry gupnp_white_list_check_context gupnp_white_list_clear gupnp_white_list_enable gupnp_white_list_get_entry_list gupnp_white_list_set_enabled gupnp_white_list_get_entries gupnp_white_list_is_empty gupnp_white_list_is_enabled gupnp_white_list_get_enabled gupnp_white_list_new gupnp_white_list_remove_entry <SUBSECTION Standard> Loading libgupnp/gupnp-context-manager.c +3 −3 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ on_context_available (GUPnPContextManager *manager, /* Try to catch the notification, only if the white list * is enabled, not empty and the context doesn't match */ if (!gupnp_white_list_is_empty (white_list) && gupnp_white_list_is_enabled (white_list) && gupnp_white_list_get_enabled (white_list) && !gupnp_white_list_check_context (white_list, context)) { /* If the conext doesn't match, block the notification * and disable the context */ Loading Loading @@ -236,7 +236,7 @@ on_white_list_change_cb (GUPnPWhiteList *white_list, gboolean enabled; gboolean is_empty; enabled = gupnp_white_list_is_enabled (white_list); enabled = gupnp_white_list_get_enabled (white_list); is_empty = gupnp_white_list_is_empty (white_list); if (enabled) Loading @@ -254,7 +254,7 @@ on_white_list_enabled_cb (GUPnPWhiteList *white_list, gboolean enabled; gboolean is_empty; enabled = gupnp_white_list_is_enabled (white_list); enabled = gupnp_white_list_get_enabled (white_list); is_empty = gupnp_white_list_is_empty (white_list); if (!is_empty) Loading libgupnp/gupnp-white-list.c +8 −6 Original line number Diff line number Diff line Loading @@ -161,6 +161,8 @@ gupnp_white_list_class_init (GUPnPWhiteListClass *klass) * GUPnPWhiteList:entries: * * Whether this white list is active or not. * Type: GList * Transfer: none **/ g_object_class_install_property (object_class, Loading Loading @@ -189,14 +191,14 @@ gupnp_white_list_new (void) } /** * gupnp_white_list_enable: * gupnp_white_list_set_enabled: * @white_list: A #GUPnPWhiteList * @enable: %TRUE to enable @white_list, %FALSE otherwise * * Enable or disable the #GUPnPWhiteList to perform the network filtering. **/ void gupnp_white_list_enable (GUPnPWhiteList *white_list, gboolean enable) gupnp_white_list_set_enabled (GUPnPWhiteList *white_list, gboolean enable) { g_return_if_fail (GUPNP_IS_WHITE_LIST (white_list)); Loading @@ -205,7 +207,7 @@ gupnp_white_list_enable (GUPnPWhiteList *white_list, gboolean enable) } /** * gupnp_white_list_is_enabled: * gupnp_white_list_get_enabled: * @white_list: A #GUPnPWhiteList * * Return the status of the #GUPnPWhiteList Loading @@ -213,7 +215,7 @@ gupnp_white_list_enable (GUPnPWhiteList *white_list, gboolean enable) * Return value: %TRUE if @white_list is enabled, %FALSE otherwise. **/ gboolean gupnp_white_list_is_enabled (GUPnPWhiteList *white_list) gupnp_white_list_get_enabled (GUPnPWhiteList *white_list) { g_return_val_if_fail (GUPNP_IS_WHITE_LIST (white_list), FALSE); Loading Loading @@ -309,7 +311,7 @@ gupnp_white_list_remove_entry (GUPnPWhiteList *white_list, gchar* entry) } /** * gupnp_white_list_get_entry_list: * gupnp_white_list_get_entries: * @white_list: A #GUPnPWhiteList * * Get the #GList of entries that compose the white list. Do not free Loading @@ -319,7 +321,7 @@ gupnp_white_list_remove_entry (GUPnPWhiteList *white_list, gchar* entry) * Do not modify or free the list nor its elements. **/ GList * gupnp_white_list_get_entry_list (GUPnPWhiteList *white_list) gupnp_white_list_get_entries (GUPnPWhiteList *white_list) { g_return_val_if_fail (GUPNP_IS_WHITE_LIST (white_list), NULL); Loading libgupnp/gupnp-white-list.h +3 −3 Original line number Diff line number Diff line Loading @@ -75,11 +75,11 @@ GUPnPWhiteList * gupnp_white_list_new (void); void gupnp_white_list_enable (GUPnPWhiteList *white_list, gupnp_white_list_set_enabled (GUPnPWhiteList *white_list, gboolean enable); gboolean gupnp_white_list_is_enabled (GUPnPWhiteList *white_list); gupnp_white_list_get_enabled (GUPnPWhiteList *white_list); gboolean gupnp_white_list_is_empty (GUPnPWhiteList *white_list); Loading @@ -93,7 +93,7 @@ gupnp_white_list_remove_entry (GUPnPWhiteList *white_list, gchar* entry); GList * gupnp_white_list_get_entry_list (GUPnPWhiteList *white_list); gupnp_white_list_get_entries (GUPnPWhiteList *white_list); void gupnp_white_list_clear (GUPnPWhiteList *white_list); Loading vala/GUPnP-1.0.metadata +2 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ ServiceProxy .end_action_list skip .send_action_hash skip .send_action_list skip WhiteList .entries skip ControlError skip control_error_quark skip EventingError skip Loading Loading
doc/gupnp-sections.txt +3 −3 Original line number Diff line number Diff line Loading @@ -453,10 +453,10 @@ GUPnPWhiteList gupnp_white_list_add_entry gupnp_white_list_check_context gupnp_white_list_clear gupnp_white_list_enable gupnp_white_list_get_entry_list gupnp_white_list_set_enabled gupnp_white_list_get_entries gupnp_white_list_is_empty gupnp_white_list_is_enabled gupnp_white_list_get_enabled gupnp_white_list_new gupnp_white_list_remove_entry <SUBSECTION Standard> Loading
libgupnp/gupnp-context-manager.c +3 −3 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ on_context_available (GUPnPContextManager *manager, /* Try to catch the notification, only if the white list * is enabled, not empty and the context doesn't match */ if (!gupnp_white_list_is_empty (white_list) && gupnp_white_list_is_enabled (white_list) && gupnp_white_list_get_enabled (white_list) && !gupnp_white_list_check_context (white_list, context)) { /* If the conext doesn't match, block the notification * and disable the context */ Loading Loading @@ -236,7 +236,7 @@ on_white_list_change_cb (GUPnPWhiteList *white_list, gboolean enabled; gboolean is_empty; enabled = gupnp_white_list_is_enabled (white_list); enabled = gupnp_white_list_get_enabled (white_list); is_empty = gupnp_white_list_is_empty (white_list); if (enabled) Loading @@ -254,7 +254,7 @@ on_white_list_enabled_cb (GUPnPWhiteList *white_list, gboolean enabled; gboolean is_empty; enabled = gupnp_white_list_is_enabled (white_list); enabled = gupnp_white_list_get_enabled (white_list); is_empty = gupnp_white_list_is_empty (white_list); if (!is_empty) Loading
libgupnp/gupnp-white-list.c +8 −6 Original line number Diff line number Diff line Loading @@ -161,6 +161,8 @@ gupnp_white_list_class_init (GUPnPWhiteListClass *klass) * GUPnPWhiteList:entries: * * Whether this white list is active or not. * Type: GList * Transfer: none **/ g_object_class_install_property (object_class, Loading Loading @@ -189,14 +191,14 @@ gupnp_white_list_new (void) } /** * gupnp_white_list_enable: * gupnp_white_list_set_enabled: * @white_list: A #GUPnPWhiteList * @enable: %TRUE to enable @white_list, %FALSE otherwise * * Enable or disable the #GUPnPWhiteList to perform the network filtering. **/ void gupnp_white_list_enable (GUPnPWhiteList *white_list, gboolean enable) gupnp_white_list_set_enabled (GUPnPWhiteList *white_list, gboolean enable) { g_return_if_fail (GUPNP_IS_WHITE_LIST (white_list)); Loading @@ -205,7 +207,7 @@ gupnp_white_list_enable (GUPnPWhiteList *white_list, gboolean enable) } /** * gupnp_white_list_is_enabled: * gupnp_white_list_get_enabled: * @white_list: A #GUPnPWhiteList * * Return the status of the #GUPnPWhiteList Loading @@ -213,7 +215,7 @@ gupnp_white_list_enable (GUPnPWhiteList *white_list, gboolean enable) * Return value: %TRUE if @white_list is enabled, %FALSE otherwise. **/ gboolean gupnp_white_list_is_enabled (GUPnPWhiteList *white_list) gupnp_white_list_get_enabled (GUPnPWhiteList *white_list) { g_return_val_if_fail (GUPNP_IS_WHITE_LIST (white_list), FALSE); Loading Loading @@ -309,7 +311,7 @@ gupnp_white_list_remove_entry (GUPnPWhiteList *white_list, gchar* entry) } /** * gupnp_white_list_get_entry_list: * gupnp_white_list_get_entries: * @white_list: A #GUPnPWhiteList * * Get the #GList of entries that compose the white list. Do not free Loading @@ -319,7 +321,7 @@ gupnp_white_list_remove_entry (GUPnPWhiteList *white_list, gchar* entry) * Do not modify or free the list nor its elements. **/ GList * gupnp_white_list_get_entry_list (GUPnPWhiteList *white_list) gupnp_white_list_get_entries (GUPnPWhiteList *white_list) { g_return_val_if_fail (GUPNP_IS_WHITE_LIST (white_list), NULL); Loading
libgupnp/gupnp-white-list.h +3 −3 Original line number Diff line number Diff line Loading @@ -75,11 +75,11 @@ GUPnPWhiteList * gupnp_white_list_new (void); void gupnp_white_list_enable (GUPnPWhiteList *white_list, gupnp_white_list_set_enabled (GUPnPWhiteList *white_list, gboolean enable); gboolean gupnp_white_list_is_enabled (GUPnPWhiteList *white_list); gupnp_white_list_get_enabled (GUPnPWhiteList *white_list); gboolean gupnp_white_list_is_empty (GUPnPWhiteList *white_list); Loading @@ -93,7 +93,7 @@ gupnp_white_list_remove_entry (GUPnPWhiteList *white_list, gchar* entry); GList * gupnp_white_list_get_entry_list (GUPnPWhiteList *white_list); gupnp_white_list_get_entries (GUPnPWhiteList *white_list); void gupnp_white_list_clear (GUPnPWhiteList *white_list); Loading
vala/GUPnP-1.0.metadata +2 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ ServiceProxy .end_action_list skip .send_action_hash skip .send_action_list skip WhiteList .entries skip ControlError skip control_error_quark skip EventingError skip Loading