summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2012-04-01 13:06:22 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2012-04-01 13:06:22 +0200
commit9d15dc565a0d09ad313180fe1286a26de834c792 (patch)
tree1f68ee3393fe060bdb34a0f4e141bae841f1a229 /include
parent46acfaebd2e4670e0d63696dc55fcb5f6bd9737a (diff)
handle init/exit functions calling
automatically inside the library
Diffstat (limited to 'include')
-rw-r--r--include/rtl-sdr.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/rtl-sdr.h b/include/rtl-sdr.h
index 33370bc..8e8bf1b 100644
--- a/include/rtl-sdr.h
+++ b/include/rtl-sdr.h
@@ -27,12 +27,6 @@ extern "C" {
typedef int rtlsdr_dev_t;
-/* must be called once before using any other library functions */
-int rtlsdr_init(void);
-
-/* must be called once at application shutdown */
-void rtlsdr_exit(void);
-
uint32_t rtlsdr_get_device_count(void);
const char *rtlsdr_get_device_name(uint32_t index);
@@ -66,10 +60,6 @@ int rtlsdr_reset_buffer(rtlsdr_dev_t *dev);
int rtlsdr_read_sync(rtlsdr_dev_t *dev, void *buf, uint32_t len, uint32_t *n_read);
-typedef void(*rtlsdr_async_read_cb_t)(const char *buf, uint32_t len, void *ctx);
-
-int rtlsdr_async_loop(rtlsdr_dev_t *dev, rtlsdr_async_read_cb_t cb, void *ctx);
-
#ifdef __cplusplus
}
#endif