mbim-dev.h 791 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * umbim
  3. * Copyright (C) 2014 John Crispin <blogic@openwrt.org>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2
  7. * as published by the Free Software Foundation
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. #ifndef _MBIM_DEV_H__
  15. #define _MBIM_DEV_H__
  16. extern size_t mbim_bufsize;
  17. extern uint8_t *mbim_buffer;
  18. extern int no_close;
  19. int mbim_send(void);
  20. void mbim_open(const char *path);
  21. #ifdef LIBQMI_MBIM_PROXY
  22. void mbim_proxy_open(const char *path);
  23. #endif
  24. void mbim_end(void);
  25. #endif