/*
* This file is part of the sigrok project.
*
- * Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
+ * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
char *longname;
int api_version;
int (*init) (const char *deviceinfo);
- void (*cleanup) (void);
+ int (*cleanup) (void);
/* Device-specific */
int (*opendev) (int device_index);
int *(*get_capabilities) (void);
int (*set_configuration) (int device_index, int capability, void *value);
int (*start_acquisition) (int device_index, gpointer session_device_id);
- void (*stop_acquisition) (int device_index, gpointer session_device_id);
+ int (*stop_acquisition) (int device_index, gpointer session_device_id);
};
struct sr_session {