Move 'struct drv_context' to sigrok-internal.h.
It's not meant to be visible to frontends.
This commit is contained in:
parent
7c41dc4774
commit
026c822d8c
|
@ -61,6 +61,11 @@ struct sr_serial_dev_inst {
|
||||||
int fd;
|
int fd;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Private driver context. */
|
||||||
|
struct drv_context {
|
||||||
|
GSList *instances;
|
||||||
|
};
|
||||||
|
|
||||||
/*--- log.c -----------------------------------------------------------------*/
|
/*--- log.c -----------------------------------------------------------------*/
|
||||||
|
|
||||||
SR_PRIV int sr_log(int loglevel, const char *format, ...);
|
SR_PRIV int sr_log(int loglevel, const char *format, ...);
|
||||||
|
|
|
@ -560,11 +560,6 @@ struct sr_dev_driver {
|
||||||
void *priv;
|
void *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Private driver context. */
|
|
||||||
struct drv_context {
|
|
||||||
GSList *instances;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct sr_session {
|
struct sr_session {
|
||||||
/* List of struct sr_dev* */
|
/* List of struct sr_dev* */
|
||||||
GSList *devs;
|
GSList *devs;
|
||||||
|
|
Loading…
Reference in New Issue