forked from moretension/duti
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhandler.h
More file actions
23 lines (19 loc) · 655 Bytes
/
Copy pathhandler.h
File metadata and controls
23 lines (19 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
struct roles {
const char *r_role;
LSRolesMask r_mask;
};
extern int nroles;
#define DUTI_TYPE_URL_HANDLER 2
#define DUTI_TYPE_UTI_HANDLER 3
int set_uti_handler( CFStringRef, CFStringRef, LSRolesMask );
int set_url_handler( CFStringRef, CFStringRef );
int fsethandler( char * );
int psethandler( char * );
int dirsethandler( char * );
int uti_handler_show( char *uti, int showall );
int url_handler_show( char *url_scheme );
int duti_handler_set( char *, char *, char * );
int duti_default_app_for_extension( char * );
int duti_is_conformant_uti( CFStringRef );
int duti_utis( char * );
int duti_utis_for_extension( char * );