File: uac_crt.h

package info (click to toggle)
unace 1.2b-12
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 408 kB
  • ctags: 420
  • sloc: ansic: 1,762; sh: 113; makefile: 93
file content (50 lines) | stat: -rw-r--r-- 956 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* ------------------------------------------------------------------------ */
/*  ML - 01/2004: changed licence to GPL                                    */
/* ------------------------------------------------------------------------ */  

#ifndef __uac_crt_h
#define __uac_crt_h


#include "acestruc.h"

CHAR *ace_fname(CHAR * s, thead * head, INT nopath, unsigned int size);
INT  create_dest_file(CHAR * file, INT a);

#ifdef UNIX
  #define mkdir(_a) mkdir(_a,  S_IRWXU | S_IRWXG | S_IRWXO)
#endif


#ifndef _A_SUBDIR
  #define _A_SUBDIR 0x10        /* MS-DOS directory constant */
#endif

#ifndef S_IEXEC
  #ifdef S_IEXECUTE
    #define S_IEXEC S_IEXECUTE
  #else
    #define S_IEXEC 0
  #endif
#endif

#ifndef S_IDELETE
  #define S_IDELETE 0
#endif

#ifndef S_IRGRP 
  #define S_IRGRP 0
  #define S_IWGRP 0
#endif

#ifndef S_IROTH 
  #define S_IROTH 0
  #define S_IWOTH 0
#endif

#ifndef O_BINARY
  #define O_BINARY 0
#endif

#endif /* __uac_crt_h */