summaryrefslogtreecommitdiff
path: root/src/include/Spy.h
blob: b24c42b5e6d1abd851ef8139f58eedb944229fec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef SPY_H
#define SPY_H
#include <Eina.h>
#include <Ecore.h>
#include <Eio.h>

extern int SPY_EVENT_LINE;

typedef struct _Spy Spy;
typedef struct _Spy_File Spy_File;
typedef struct _Spy_Line Spy_Line;

int spy_init(void);
int spy_shutdown(void);

Spy * spy_new(void);
void spy_free(Spy *spy);

Spy_File * spy_file_new(Spy *spy, const char *file);
Spy_File * spy_file_get(Spy *spy, const char *file);
const char * spy_file_name_get(Spy_File *sf);
void spy_file_data_set(Spy_File *sf, const void *data);
void * spy_file_data_get(Spy_File *sf);

const char * spy_line_get(Spy_Line *sl);
Spy_File * spy_line_spyfile_get(Spy_Line *sl);
#endif