xref: /titanic_44/usr/src/cmd/sendmail/db/include/os_ext.h (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate /* DO NOT EDIT: automatically built by dist/distrib. */
2*7c478bd9Sstevel@tonic-gate #ifndef _os_ext_h_
3*7c478bd9Sstevel@tonic-gate #define _os_ext_h_
4*7c478bd9Sstevel@tonic-gate int __os_abspath __P((const char *));
5*7c478bd9Sstevel@tonic-gate int __os_strdup __P((const char *, void *));
6*7c478bd9Sstevel@tonic-gate int __os_calloc __P((size_t, size_t, void *));
7*7c478bd9Sstevel@tonic-gate int __os_malloc __P((size_t, void *(*)(size_t), void *));
8*7c478bd9Sstevel@tonic-gate int __os_realloc __P((void *, size_t));
9*7c478bd9Sstevel@tonic-gate void __os_free __P((void *, size_t));
10*7c478bd9Sstevel@tonic-gate void __os_freestr __P((void *));
11*7c478bd9Sstevel@tonic-gate int __os_dirlist __P((const char *, char ***, int *));
12*7c478bd9Sstevel@tonic-gate void __os_dirfree __P((char **, int));
13*7c478bd9Sstevel@tonic-gate int __os_fileid __P((DB_ENV *, const char *, int, u_int8_t *));
14*7c478bd9Sstevel@tonic-gate int __os_fsync __P((int));
15*7c478bd9Sstevel@tonic-gate int __db_mapanon_ok __P((int));
16*7c478bd9Sstevel@tonic-gate int __db_mapinit __P((void));
17*7c478bd9Sstevel@tonic-gate int __db_mapregion __P((char *, REGINFO *));
18*7c478bd9Sstevel@tonic-gate int __db_unmapregion __P((REGINFO *));
19*7c478bd9Sstevel@tonic-gate int __db_unlinkregion __P((char *, REGINFO *));
20*7c478bd9Sstevel@tonic-gate int __db_mapfile __P((char *, int, size_t, int, void **));
21*7c478bd9Sstevel@tonic-gate int __db_unmapfile __P((void *, size_t));
22*7c478bd9Sstevel@tonic-gate u_int32_t __db_oflags __P((int));
23*7c478bd9Sstevel@tonic-gate int __db_omode __P((const char *));
24*7c478bd9Sstevel@tonic-gate int __db_open __P((const char *, u_int32_t, u_int32_t, int, int *));
25*7c478bd9Sstevel@tonic-gate int __os_open __P((const char *, int, int, int *));
26*7c478bd9Sstevel@tonic-gate int __os_close __P((int));
27*7c478bd9Sstevel@tonic-gate char *__db_rpath __P((const char *));
28*7c478bd9Sstevel@tonic-gate int __os_io __P((DB_IO *, int, ssize_t *));
29*7c478bd9Sstevel@tonic-gate int __os_read __P((int, void *, size_t, ssize_t *));
30*7c478bd9Sstevel@tonic-gate int __os_write __P((int, void *, size_t, ssize_t *));
31*7c478bd9Sstevel@tonic-gate int __os_seek __P((int, size_t, db_pgno_t, u_int32_t, int, int));
32*7c478bd9Sstevel@tonic-gate int __os_sleep __P((u_long, u_long));
33*7c478bd9Sstevel@tonic-gate int __os_spin __P((void));
34*7c478bd9Sstevel@tonic-gate void __os_yield __P((u_long));
35*7c478bd9Sstevel@tonic-gate int __os_exists __P((const char *, int *));
36*7c478bd9Sstevel@tonic-gate int __os_ioinfo
37*7c478bd9Sstevel@tonic-gate    __P((const char *, int, u_int32_t *, u_int32_t *, u_int32_t *));
38*7c478bd9Sstevel@tonic-gate int __os_tmpdir __P((DB_ENV *, u_int32_t));
39*7c478bd9Sstevel@tonic-gate int __os_unlink __P((const char *));
40*7c478bd9Sstevel@tonic-gate #endif /* _os_ext_h_ */
41