~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_sys.h

Merge trunk and resolve all conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef _my_sys_h
22
 
#define _my_sys_h
 
21
#ifndef MYSYS_MY_SYS_H
 
22
#define MYSYS_MY_SYS_H
23
23
 
24
24
#include <errno.h>
25
25
#define my_errno (errno)
64
64
#define MY_HOLD_ORIGINAL_MODES 128  /* my_copy() holds to file modes */
65
65
#define MY_REDEL_MAKE_BACKUP 256
66
66
#define MY_DONT_WAIT    64      /* my_lock() don't wait if can't lock */
67
 
#define MY_ZEROFILL     32      /* my_multi_malloc(), fill array with zero */
68
67
#define MY_DONT_OVERWRITE_FILE 1024     /* my_copy: Don't overwrite file */
69
68
#define MY_THREADSAFE 2048      /* my_seek(): lock fd mutex */
70
69
 
291
290
extern int my_rename(const char *from,const char *to,myf MyFlags);
292
291
extern size_t my_write(File Filedes,const unsigned char *Buffer,size_t Count,
293
292
                     myf MyFlags);
294
 
extern void * my_multi_malloc (myf MyFlags, ...);
295
293
extern int _sanity(const char *sFile, uint32_t uLine);
296
294
 
297
295
#define my_access access
472
470
}
473
471
#endif
474
472
 
475
 
#endif /* _my_sys_h */
 
473
#endif /* MYSYS_MY_SYS_H */