Reset inheritable flag of debug log file git_shell_ext_debug.txt
[git-cheetah/kirill.git] / finder / util.h
blobd1b7199cabf47d65c244a204c2907a43f5027604
1 #ifndef FINDER_UTIL_H
2 #define FINDER_UTIL_H
4 /* on Mac OS 10.4 there is a struct strbuf in Carbon */
5 #define strbuf mac_strbuf
6 #include <Carbon/Carbon.h>
7 #undef strbuf
8 #include "../common/strbuf.h"
10 /* implements platform dependent utility functions for
11 * handling platform dependent types */
12 int selection_to_path(char *path, int len, const AEDesc *selection /*,
13 int *index */);
15 AEDesc *get_file_from_selection(const AEDesc *selection, AEDesc *file);
16 AEDesc *get_file_from_selection_list(const AEDesc *selection, AEDesc *file
17 /* , int *index */);
18 int exec_program(const char *working_directory,
19 struct strbuf *output, struct strbuf *error_output,
20 int flags, ...);
22 #endif /* FINDER_UTIL_H */