void HttpEndPointServer::unregisterEndPoint (std::string uri, KmsHttpEPServerNotifyCallback cb, gpointer user_data, GDestroyNotify notify) { kms_http_ep_server_unregister_end_point (server, uri.c_str(), cb, user_data, notify); }
static void action_requested_cb (KmsHttpEPServer *server, const gchar *uri, KmsHttpEndPointAction action, gpointer data) { GST_DEBUG ("Action %d requested on %s", action, uri); BOOST_CHECK ( action == KMS_HTTP_END_POINT_ACTION_GET ); BOOST_CHECK (kms_http_ep_server_unregister_end_point (httpepserver, uri) ); }
static void t4_action_requested_cb (KmsHttpEPServer *server, const gchar *uri, KmsHttpEndPointAction action, gpointer data) { GST_DEBUG ("Action %d requested on %s", action, uri); /* We unregister httpendpoints when they have already a pending request */ /* so as to check we don't miss memory leaks */ BOOST_CHECK (kms_http_ep_server_unregister_end_point (httpepserver, uri) ); }