RTS API Documentation  1.10.11
Macros
+ Collaboration diagram for File Permissions flags:

Macros

#define SWITCH_FPROT_USETID   0x8000
 
#define SWITCH_FPROT_UREAD   0x0400
 
#define SWITCH_FPROT_UWRITE   0x0200
 
#define SWITCH_FPROT_UEXECUTE   0x0100
 
#define SWITCH_FPROT_GSETID   0x4000
 
#define SWITCH_FPROT_GREAD   0x0040
 
#define SWITCH_FPROT_GWRITE   0x0020
 
#define SWITCH_FPROT_GEXECUTE   0x0010
 
#define SWITCH_FPROT_WSTICKY   0x2000
 
#define SWITCH_FPROT_WREAD   0x0004
 
#define SWITCH_FPROT_WWRITE   0x0002
 
#define SWITCH_FPROT_WEXECUTE   0x0001
 
#define SWITCH_FPROT_OS_DEFAULT   0x0FFF
 
#define SWITCH_FPROT_FILE_SOURCE_PERMS   0x1000
 

Detailed Description

Macro Definition Documentation

◆ SWITCH_FPROT_FILE_SOURCE_PERMS

#define SWITCH_FPROT_FILE_SOURCE_PERMS   0x1000

Copy source file's permissions

Definition at line 729 of file switch_apr.h.

◆ SWITCH_FPROT_GEXECUTE

#define SWITCH_FPROT_GEXECUTE   0x0010

Execute by group

Definition at line 719 of file switch_apr.h.

◆ SWITCH_FPROT_GREAD

#define SWITCH_FPROT_GREAD   0x0040

Read by group

Definition at line 717 of file switch_apr.h.

◆ SWITCH_FPROT_GSETID

#define SWITCH_FPROT_GSETID   0x4000

Set group id

Definition at line 716 of file switch_apr.h.

◆ SWITCH_FPROT_GWRITE

#define SWITCH_FPROT_GWRITE   0x0020

Write by group

Definition at line 718 of file switch_apr.h.

◆ SWITCH_FPROT_OS_DEFAULT

#define SWITCH_FPROT_OS_DEFAULT   0x0FFF

use OS's default permissions

Definition at line 726 of file switch_apr.h.

Referenced by get_file_size(), and SWITCH_STANDARD_APP().

◆ SWITCH_FPROT_UEXECUTE

#define SWITCH_FPROT_UEXECUTE   0x0100

Execute by user

Definition at line 714 of file switch_apr.h.

◆ SWITCH_FPROT_UREAD

#define SWITCH_FPROT_UREAD   0x0400

Read by user

Definition at line 712 of file switch_apr.h.

Referenced by main().

◆ SWITCH_FPROT_USETID

#define SWITCH_FPROT_USETID   0x8000

Set user id

Definition at line 711 of file switch_apr.h.

◆ SWITCH_FPROT_UWRITE

#define SWITCH_FPROT_UWRITE   0x0200

Write by user

Definition at line 713 of file switch_apr.h.

Referenced by main().

◆ SWITCH_FPROT_WEXECUTE

#define SWITCH_FPROT_WEXECUTE   0x0001

Execute by others

Definition at line 724 of file switch_apr.h.

◆ SWITCH_FPROT_WREAD

#define SWITCH_FPROT_WREAD   0x0004

Read by others

Definition at line 722 of file switch_apr.h.

◆ SWITCH_FPROT_WSTICKY

#define SWITCH_FPROT_WSTICKY   0x2000

Definition at line 721 of file switch_apr.h.

◆ SWITCH_FPROT_WWRITE

#define SWITCH_FPROT_WWRITE   0x0002

Write by others

Definition at line 723 of file switch_apr.h.