java_iface.c 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  22. *
  23. */
  24. #include "../../str.h"
  25. #include "../../sr_module.h"
  26. #include <jni.h>
  27. #include "global.h"
  28. #include "java_iface.h"
  29. #include "utils.h"
  30. #include "java_mod.h"
  31. #include "java_iface.h"
  32. #include "java_support.h"
  33. #include "java_native_methods.h"
  34. int java_exec(struct sip_msg *msg, char *method_name, char *foobar)
  35. {
  36. LM_ERR("This is a stub only. Is not implemented yet.\n");
  37. return 1;
  38. }