conn_md_dbg.h 496 B

12345678910111213141516
  1. #ifndef __CONN_MD_DBG_H_
  2. #define __CONN_MD_DBG_H_
  3. #ifdef ARRAY_SIZE
  4. #undef ARRAY_SIZE
  5. #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
  6. #endif
  7. typedef int (*CONN_MD_DEV_DBG_FUNC) (int par1, int par2, int par3);
  8. extern int conn_md_dbg_init(void);
  9. extern int conn_md_test(void);
  10. ssize_t conn_md_dbg_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos);
  11. ssize_t conn_md_dbg_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos);
  12. #endif/*__CONN_MD_DBG_H_*/