summaryrefslogtreecommitdiff
path: root/document-portal/xdp-fuse.h
blob: 887db801127840b31d0c2f2d20f0f86b1767a6ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef XDP_FUSE_H
#define XDP_FUSE_H

#include <glib.h>
#include "xdg-app-db.h"

G_BEGIN_DECLS

char **        xdp_list_apps  (void);
char **        xdp_list_docs  (void);
XdgAppDbEntry *xdp_lookup_doc (const char *doc_id);

gboolean    xdp_fuse_init               (GError     **error);
void        xdp_fuse_exit               (void);
const char *xdp_fuse_get_mountpoint     (void);
void        xdp_fuse_invalidate_doc_app (const char  *doc_id,
                                         const char  *opt_app_id,
                                         XdgAppDbEntry *entry);
char      *xdp_fuse_lookup_id_for_inode (ino_t inode);


G_END_DECLS

#endif /* XDP_FUSE_H */