~ubuntu-branches/debian/sid/kamailio/sid

« back to all changes in this revision

Viewing changes to modules/dmq/dmq.h

  • Committer: Package Import Robot
  • Author(s): Victor Seva
  • Date: 2014-01-06 11:47:13 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140106114713-t8xidp4arzrnyeya
Tags: 4.1.1-1
* New upstream release
* debian/patches:
  - add upstream fixes
* Added tls outbound websocket autheph dnssec modules
  - openssl exception added to their license
* removing sparc and ia64 from supported archs
  for mono module (Closes: #728915)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include "../../modules/tm/tm_load.h"
33
33
#include "../../parser/parse_uri.h"
34
34
#include "../../modules/sl/sl.h"
35
 
#include "bind_dmq.h"
36
35
#include "peer.h"
37
36
#include "worker.h"
38
37
 
57
56
extern str dmq_500_rpl;
58
57
extern str dmq_404_rpl;
59
58
 
60
 
static inline int dmq_load_api(dmq_api_t* api) {
61
 
        bind_dmq_f binddmq;
62
 
        binddmq = (bind_dmq_f)find_export("bind_dmq", 0, 0);
63
 
        if ( binddmq == 0) {
64
 
                LM_ERR("cannot find bind_dmq\n");
65
 
                return -1;
66
 
        }
67
 
        if (binddmq(api) < 0)
68
 
        {
69
 
                LM_ERR("cannot bind dmq api\n");
70
 
                return -1;
71
 
        }
72
 
        return 0;
73
 
}
74
 
 
75
 
int dmq_handle_message(struct sip_msg* msg, char* str1 ,char* str2);
76
 
 
77
59
#endif
78
60