File: parse.h

package info (click to toggle)
xdg-user-dirs-gtk 0.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 524 kB
  • sloc: ansic: 520; sh: 6; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <glib.h>

typedef struct {
  char *type;
  char *path;
} XdgDirEntry;

typedef struct {
  char *uri;
  char *label;
} GtkBookmark;

XdgDirEntry *parse_xdg_dirs        (const char *config_file);
char        *parse_xdg_dirs_locale (void);
GList *      parse_gtk_bookmarks   (void);
void         save_gtk_bookmarks    (GList *bookmarks);