corex_lib.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * $Id$
  3. *
  4. * Copyright (C) 2011 Daniel-Constantin Mierla (asipto.com)
  5. *
  6. * This file is part of Kamailio, a free SIP server.
  7. *
  8. * Permission to use, copy, modify, and distribute this software for any
  9. * purpose with or without fee is hereby granted, provided that the above
  10. * copyright notice and this permission notice appear in all copies.
  11. *
  12. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  13. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  14. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  15. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  16. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  17. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  18. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  19. *
  20. */
  21. #ifndef _COREX_LIB_H_
  22. #define _COREX_LIB_H_
  23. #include "../../mod_fix.h"
  24. int corex_append_branch(sip_msg_t *msg, gparam_t *pu, gparam_t *pq);
  25. int corex_send(sip_msg_t *msg, gparam_t *pu, enum sip_protos proto);
  26. int corex_send_data(str *puri, str *pdata);
  27. int corex_add_alias_subdomains(char* aliasval);
  28. int corex_register_check_self(void);
  29. #endif