NativeMethods.java 779 B

1234567891011121314151617181920212223
  1. package org.siprouter;
  2. import java.lang.*;
  3. public abstract class NativeMethods
  4. {
  5. public static native void LM_GEN1(int logLevel, String s);
  6. public static native void LM_GEN2(int logFacility, int logLevel, String s);
  7. public static native void LM_ALERT(String s);
  8. public static native void LM_CRIT(String s);
  9. public static native void LM_WARN(String s);
  10. public static native void LM_NOTICE(String s);
  11. public static native void LM_ERR(String s);
  12. public static native void LM_INFO(String s);
  13. public static native void LM_DBG(String s);
  14. protected final int mop = 0x0; // 'message object pointer' (pointer to an original c pointer of 'struct sip_msg')
  15. public static native int KamExec(String fname, String... params);
  16. }