2
0

java_support.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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_SUPPORT_H__
  25. #define __JAVA_SUPPORT_H__
  26. #include "../../str.h"
  27. #include "../../sr_module.h"
  28. #include <jni.h>
  29. void handle_exception(void);
  30. void ThrowNewException(JNIEnv *, char *, ...);
  31. void handle_VM_init_failure(int res);
  32. #endif