diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-26 21:02:21 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-26 21:02:21 +0200 |
commit | 47a1e0515012d4aaf4f95fd71c4bc6de526e8d86 (patch) | |
tree | 1860b66be006ad0df30894d3876e9ffe170ce8ff /rpmio/rpmio_internal.h | |
parent | edc6b13d19d832ec56b63007ccc84a0f43cf2629 (diff) | |
download | librpm-tizen-47a1e0515012d4aaf4f95fd71c4bc6de526e8d86.tar.gz librpm-tizen-47a1e0515012d4aaf4f95fd71c4bc6de526e8d86.tar.bz2 librpm-tizen-47a1e0515012d4aaf4f95fd71c4bc6de526e8d86.zip |
Make the rest of rpmio vectors static inside rpmio
- no external needs, gets them out of exported library symbols
Diffstat (limited to 'rpmio/rpmio_internal.h')
-rw-r--r-- | rpmio/rpmio_internal.h | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/rpmio/rpmio_internal.h b/rpmio/rpmio_internal.h index 9f67a7a61..57de0dd8b 100644 --- a/rpmio/rpmio_internal.h +++ b/rpmio/rpmio_internal.h @@ -70,105 +70,6 @@ struct _FD_s { rpm_off_t fd_cpioPos; /* cpio: */ }; -/** \ingroup rpmio - * \name RPMIO Vectors. - */ - -/** - */ -typedef ssize_t (*fdio_read_function_t) (void *cookie, char *buf, size_t nbytes); - -/** - */ -typedef ssize_t (*fdio_write_function_t) (void *cookie, const char *buf, size_t nbytes); - -/** - */ -typedef int (*fdio_seek_function_t) (void *cookie, _libio_pos_t pos, int whence); - -/** - */ -typedef int (*fdio_close_function_t) (void *cookie); - - -/** - */ -typedef FD_t (*fdio_ref_function_t) ( void * cookie, const char * msg); - -/** - */ -typedef FD_t (*fdio_deref_function_t) ( FD_t fd, const char * msg); - - -/** - */ -typedef FD_t (*fdio_new_function_t) (const char * msg); - - -/** - */ -typedef int (*fdio_fileno_function_t) (void * cookie); - - -/** - */ -typedef FD_t (*fdio_open_function_t) (const char * path, int flags, mode_t mode); - -/** - */ -typedef FD_t (*fdio_fopen_function_t) (const char * path, const char * fmode); - -/** - */ -typedef void * (*fdio_ffileno_function_t) (FD_t fd); - -/** - */ -typedef int (*fdio_fflush_function_t) (FD_t fd); - -/** \ingroup rpmio - */ -struct FDIO_s { - fdio_read_function_t read; - fdio_write_function_t write; - fdio_seek_function_t seek; - fdio_close_function_t close; - - fdio_ref_function_t _fdref; - fdio_deref_function_t _fdderef; - fdio_new_function_t _fdnew; - fdio_fileno_function_t _fileno; - - fdio_open_function_t _open; - fdio_fopen_function_t _fopen; - fdio_ffileno_function_t _ffileno; - fdio_fflush_function_t _fflush; -}; - -/** - */ -extern FDIO_t fdio; - -/** - */ -extern FDIO_t fpio; - -/** - */ -extern FDIO_t ufdio; - -/** - */ -extern FDIO_t gzdio; - -/** - */ -extern FDIO_t bzdio; - -/** - */ -extern FDIO_t fadio; - #define FDSANE(fd) assert(fd && fd->magic == FDMAGIC) extern int _rpmio_debug; |