flags.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * $Id$
  3. *
  4. * Copyright (C) 2009
  5. *
  6. * This file is part of SIP-Router.org, a free SIP server.
  7. *
  8. * SIP-Router is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version
  12. *
  13. * Kamailio is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  21. */
  22. #ifndef _KEX_FLAGS_H_
  23. #define _KEX_FLAGS_H_
  24. #include "../../sr_module.h"
  25. int w_issflagset(struct sip_msg *msg, char *flag, str *s2);
  26. int w_resetsflag(struct sip_msg *msg, char *flag, str *s2);
  27. int w_setsflag(struct sip_msg *msg, char *flag, char *s2);
  28. int w_isbflagset(struct sip_msg *msg, char *flag, str *idx);
  29. int w_resetbflag(struct sip_msg *msg, char *flag, str *idx);
  30. int w_setbflag(struct sip_msg *msg, char *flag, char *idx);
  31. #endif