summaryrefslogtreecommitdiff
path: root/src/lib/spy/spy_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/spy/spy_main.c')
-rw-r--r--src/lib/spy/spy_main.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/spy/spy_main.c b/src/lib/spy/spy_main.c
index b4ca263..3cc7f0c 100644
--- a/src/lib/spy/spy_main.c
+++ b/src/lib/spy/spy_main.c
@@ -34,6 +34,22 @@ spy_free(Spy *spy)
34 free(spy); 34 free(spy);
35} 35}
36 36
37void
38spy_file_pause(Spy_File *sf)
39{
40 EINA_SAFETY_ON_NULL_RETURN(sf);
41
42 sf->poll.pause = EINA_TRUE;
43}
44
45void
46spy_file_resume(Spy_File *sf)
47{
48 EINA_SAFETY_ON_NULL_RETURN(sf);
49
50 sf->poll.pause = EINA_FALSE;
51}
52
37Spy_File * 53Spy_File *
38spy_file_get(Spy *spy, const char *file) 54spy_file_get(Spy *spy, const char *file)
39{ 55{