blob: bf1f4a2565f96d4a0709bea71135ae77294856ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef _LGSM_INTERNALS_H
#define _LGSM_INTERNALS_H
#include <gsmd/usock.h>
struct lgsm_handle {
int fd;
lgsm_msg_handler *handler[__NUM_GSMD_MSGS];
};
int lgsm_send(struct lgsm_handle *lh, struct gsmd_msg_hdr *gmh);
struct gsmd_msg_hdr *lgsm_gmh_fill(int type, int subtype, int payload_len);
#define lgsm_gmh_free(x) free(x)
#endif /* _LGSM_INTERNALS_H */
|