summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-14 04:17:00 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-14 04:17:00 +0100
commit72fc5fa9be55ffab0e009085b05a3cad0b077826 (patch)
treedc2bedba961e9577aec6717f17a7fd10e2d2fbd9 /event.c
parenta5814c8d0bf5255a6f2deba41db9733c6d524ad1 (diff)
downloadpcitool-72fc5fa9be55ffab0e009085b05a3cad0b077826.tar.gz
pcitool-72fc5fa9be55ffab0e009085b05a3cad0b077826.tar.bz2
pcitool-72fc5fa9be55ffab0e009085b05a3cad0b077826.tar.xz
pcitool-72fc5fa9be55ffab0e009085b05a3cad0b077826.zip
small cleanup
Diffstat (limited to 'event.c')
-rw-r--r--event.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/event.c b/event.c
index 9488eae..d9d3ff3 100644
--- a/event.c
+++ b/event.c
@@ -121,6 +121,15 @@ int pcilib_configure_autostop(pcilib_t *ctx, size_t max_events, pcilib_timeout_t
return 0;
}
+int pcilib_configure_autotrigger(pcilib_t *ctx, pcilib_timeout_t interval, pcilib_event_t event, size_t trigger_size, void *trigger_data) {
+ /* To support hardware without autotriggering, we need to provide in event.c a code
+ to generate multiple triggers in a thread (available in cli). The function should
+ be re-enabled afterwards: just set parameters and let implementation decide if it
+ can make triggering in hardware or will use our emulation */
+
+ return PCILIB_ERROR_NOTSUPPORTED;
+}
+
int pcilib_configure_preprocessing_threads(pcilib_t *ctx, size_t max_threads) {
pcilib_event_api_description_t *api;