support non default ip-types
[project/umbim.git] / mbim.h
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
15 #ifndef _MBIM_H__
16 #define _MBIM_H__
17
18 #include <stdint.h>
19 #include <sys/types.h>
20
21 #define MBIM_BUFFER_SIZE        1024
22
23 extern int return_code;
24 extern int verbose;
25
26 #include "mbim-type.h"
27 #include "mbim-enum.h"
28 #include "mbim-enums.h"
29 #include "mbim-msg.h"
30 #include "mbim-cid.h"
31 #include "mbim-dev.h"
32
33 struct mbim_handler {
34         char *name;
35         int argc;
36
37         _mbim_cmd_request request;
38         _mbim_cmd_response response;
39 };
40 extern struct mbim_handler *current_handler;
41
42 #endif