4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@ecs.soton.ac.uk>.
12 #include <sys/types.h>
14 #define PRETTY_SIZE_LIMIT 4096
16 typedef enum {NONE
} SpawnFlags
;
18 char *pathdup(char *path
);
19 GString
*make_path(char *dir
, char *leaf
);
20 char *our_host_name();
21 pid_t
spawn(char **argv
);
22 pid_t
spawn_full(char **argv
, char *dir
);
23 void debug_free_string(void *data
);
24 char *user_name(uid_t uid
);
25 char *group_name(gid_t gid
);
26 char *format_size(unsigned long size
);
27 char *format_size_aligned(unsigned long size
);
28 int fork_exec_wait(char **argv
);
29 char *pretty_permissions(uid_t uid
, gid_t gid
, mode_t m
);
31 #endif /* _SUPPORT_H */