diff options
| author | cvs2svn <admin@example.com> | 2009-01-09 12:14:10 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2009-01-09 12:14:10 +0000 |
| commit | d1ed74edacae8c5f231a26b1a510c5ae6eda6d93 (patch) | |
| tree | fcbdf0559d9db6df5f55061988f5d4afc615c7b0 /src/lib/libcrypto/bio/bio_lcl.h | |
| parent | c38e9fa1885187364cfeba026e9bf38d6845886f (diff) | |
| download | openbsd-openssl_0_9_8_j.tar.gz openbsd-openssl_0_9_8_j.tar.bz2 openbsd-openssl_0_9_8_j.zip | |
This commit was manufactured by cvs2git to create tag 'openssl_0_9_8_j'.openssl_0_9_8_j
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lcl.h')
| -rw-r--r-- | src/lib/libcrypto/bio/bio_lcl.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib/libcrypto/bio/bio_lcl.h b/src/lib/libcrypto/bio/bio_lcl.h new file mode 100644 index 0000000000..dba2919d43 --- /dev/null +++ b/src/lib/libcrypto/bio/bio_lcl.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | #include <openssl/bio.h> | ||
| 2 | |||
| 3 | #if BIO_FLAGS_UPLINK==0 | ||
| 4 | /* Shortcut UPLINK calls on most platforms... */ | ||
| 5 | #define UP_stdin stdin | ||
| 6 | #define UP_stdout stdout | ||
| 7 | #define UP_stderr stderr | ||
| 8 | #define UP_fprintf fprintf | ||
| 9 | #define UP_fgets fgets | ||
| 10 | #define UP_fread fread | ||
| 11 | #define UP_fwrite fwrite | ||
| 12 | #undef UP_fsetmod | ||
| 13 | #define UP_feof feof | ||
| 14 | #define UP_fclose fclose | ||
| 15 | |||
| 16 | #define UP_fopen fopen | ||
| 17 | #define UP_fseek fseek | ||
| 18 | #define UP_ftell ftell | ||
| 19 | #define UP_fflush fflush | ||
| 20 | #define UP_ferror ferror | ||
| 21 | #define UP_fileno fileno | ||
| 22 | |||
| 23 | #define UP_open open | ||
| 24 | #define UP_read read | ||
| 25 | #define UP_write write | ||
| 26 | #define UP_lseek lseek | ||
| 27 | #define UP_close close | ||
| 28 | #endif | ||
