summaryrefslogtreecommitdiffstats
path: root/events.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-01-26 12:51:56 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-01-26 12:51:56 +0100
commit4d1b81680849492bea72907e22e276fcdfdd756a (patch)
treebde1796c455edd25dc47c640d558ff7b4448bb03 /events.c
parent70350338f84596c1c5f42697774250773be52da1 (diff)
downloadipecamera-4d1b81680849492bea72907e22e276fcdfdd756a.tar.gz
ipecamera-4d1b81680849492bea72907e22e276fcdfdd756a.tar.bz2
ipecamera-4d1b81680849492bea72907e22e276fcdfdd756a.tar.xz
ipecamera-4d1b81680849492bea72907e22e276fcdfdd756a.zip
Added ipecamera_get_last_event_id() to public API
Diffstat (limited to 'events.c')
-rw-r--r--events.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/events.c b/events.c
index 6220961..0f0f006 100644
--- a/events.c
+++ b/events.c
@@ -201,3 +201,6 @@ retry:
return 0;
}
+pcilib_event_id_t ipecamera_get_last_event_id(ipecamera_t *ctx) {
+ return ctx->event_id;
+}