From d852b637800b0f91b9c921cda17311bc203939e5 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 25 May 2023 23:10:58 +0200 Subject: Move event api definition to events.h --- model.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'model.c') diff --git a/model.c b/model.c index 28391a2..765a885 100644 --- a/model.c +++ b/model.c @@ -13,41 +13,6 @@ #include "events.h" #include "model.h" - - - -static const pcilib_event_description_t pcidev_events[] = { - {PCILIB_EVENT0, "new_event", ""}, - {0, NULL, NULL} -}; - -static const pcilib_event_data_type_description_t pcidev_data_types[] = { - {PCIDEV_RAW_DATA, PCILIB_EVENT0, "raw", "raw data from device" }, - {PCIDEV_STANDARD_DATA, PCILIB_EVENT0, "std", "processed data" }, - {0, 0, NULL, NULL} -}; - - -pcilib_event_api_description_t pcidev_event_api = { - PCIDEV_VERSION, - - pcidev_init, - pcidev_free, - - pcidev_init_dma, - - pcidev_reset, - pcidev_start, - pcidev_stop, - pcidev_trigger, - - pcidev_stream, - NULL, - pcidev_get_data, - pcidev_return_data -}; - - static const pcilib_model_description_t pcidev_models[] = {{ PCILIB_EVENT_INTERFACE_VERSION, &pcidev_event_api, -- cgit v1.2.3