textops.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* Copyright (C) 2008 Telecats BV
  2. *
  3. * This file is part of Kamailio, a free SIP server.
  4. *
  5. * Kamailio is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License
  7. * as published by the Free Software Foundation; either version 2
  8. * of the License, or (at your option) any later version.
  9. *
  10. * Kamailio is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. *
  19. *
  20. * History:
  21. * ---------
  22. * 2008-07-14 first version, function definitions copied from textops.c (Ardjan Zwartjes)
  23. */
  24. #ifndef TEXTOPS_H_
  25. #define TEXTOPS_H_
  26. #include "../../mod_fix.h"
  27. int search_f(struct sip_msg*, char*, char*);
  28. int search_append_f(struct sip_msg*, char*, char*);
  29. int remove_hf_f(struct sip_msg* msg, char* str_hf, char* foo);
  30. int add_hf_helper(struct sip_msg* msg, str *str1, str *str2, gparam_p hfval, int mode, gparam_p hfanc);
  31. int is_privacy_f(struct sip_msg *msg, char *privacy, char *str2 );
  32. int fixup_regexp_none(void** param, int param_no);
  33. int fixup_free_regexp_none(void** param, int param_no);
  34. int fixup_privacy(void** param, int param_no);
  35. #endif /*TEXTOPS_H_*/