[svn-commits] oej: branch group/pinana-publish-1.4 r296511 - /team/group/pinana-publish-1.4...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sun Nov 28 03:53:01 CST 2010
Author: oej
Date: Sun Nov 28 03:52:56 2010
New Revision: 296511
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=296511
Log:
Removing some earlier stuff that we do not use
Modified:
team/group/pinana-publish-1.4/channels/chan_sip.c
Modified: team/group/pinana-publish-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pinana-publish-1.4/channels/chan_sip.c?view=diff&rev=296511&r1=296510&r2=296511
==============================================================================
--- team/group/pinana-publish-1.4/channels/chan_sip.c (original)
+++ team/group/pinana-publish-1.4/channels/chan_sip.c Sun Nov 28 03:52:56 2010
@@ -1175,15 +1175,6 @@
AST_STRING_FIELD(domain);
);
AST_LIST_HEAD_NOLOCK(filter_list, pubsub_filter) filters;
-};
-
-struct sip_subscriber {
- AST_DECLARE_STRING_FIELDS(
- AST_STRING_FIELD(name);
- AST_STRING_FIELD(host);
- AST_STRING_FIELD(domain);
- AST_STRING_FIELD(filter);
- );
};
struct statechange {
@@ -19609,30 +19600,6 @@
return !strcasecmp(publisher->name, publisher2->name) ? CMP_MATCH | CMP_STOP : 0;
}
-static void subscriber_destructor_cb(void *data)
-{
- struct sip_subscriber *subscriber = data;
- ast_string_field_free_memory(subscriber);
-}
-
-static struct sip_subscriber *sip_subscriber_init(const char *name, const char *host,
- const char *domain, const char* filter)
-{
- struct sip_subscriber *subscriber = ao2_alloc(sizeof(*subscriber), subscriber_destructor_cb);
- return subscriber;
-}
-static int subscriber_hash_cb(const void *obj, const int flags)
-{
- const struct sip_subscriber *subscriber = obj;
- return ast_str_case_hash(subscriber->name);
-}
-
-static int subscriber_cmp_cb(void *obj, void *arg, int flags)
-{
- const struct sip_subscriber *subscriber = obj, *subscriber2 = arg;
- return !strcasecmp(subscriber->name, subscriber2->name) ? CMP_MATCH | CMP_STOP : 0;
-}
-
/*! \brief Load presence configuration
This is the file where we configure
More information about the svn-commits
mailing list