2
0

java_sig_parser.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /**
  2. * $Id$
  3. *
  4. * Copyright (C) 2013 Konstantin Mosesov
  5. *
  6. * This file is part of Kamailio, a free SIP server.
  7. *
  8. * This file 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. *
  14. * This file is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. *
  23. */
  24. #ifndef __JAVA_SIG_PARSER_H__
  25. #define __JAVA_SIG_PARSER_H__
  26. #include "../../str.h"
  27. #include "../../sr_module.h"
  28. #include <jni.h>
  29. #define JAVA_INV_SUPP_TYPE_OBJECTS
  30. #define JAVA_INV_SUPP_TYPE_BOOLEAN
  31. #define JAVA_INV_SUPP_TYPE_BYTE
  32. #define JAVA_INV_SUPP_TYPE_CHARACTER
  33. #define JAVA_INV_SUPP_TYPE_DOUBLE
  34. #define JAVA_INV_SUPP_TYPE_FLOAT
  35. #define JAVA_INV_SUPP_TYPE_INTEGER
  36. #define JAVA_INV_SUPP_TYPE_LONG
  37. #define JAVA_INV_SUPP_TYPE_SHORT
  38. #define JAVA_INV_SUPP_TYPE_STRING
  39. #define JAVA_INV_SUPP_TYPE_VOID
  40. int is_sig_allowed(char *);
  41. jvalue *get_value_by_sig_type(char *, char *);
  42. #endif