diff options
author | Kristian Høgsberg <krh@redhat.com> | 2005-03-01 22:24:10 (GMT) |
---|---|---|
committer | Kristian Høgsberg <krh@src.gnome.org> | 2005-03-01 22:24:10 (GMT) |
commit | 02eb16fef45712a91e24f6471b9e2f31249c888e (patch) | |
tree | d5579258f1d7fbd5a280fb2f1b97b74004b1dea9 /pdf/goo/vms_dirent.h | |
parent | 332afee84ff4eb7df326d96f07efd6f82a87c0a2 (diff) |
Use poppler instead of including xpdf source code. Poppler is a fork of
2005-03-01 Kristian Høgsberg <krh@redhat.com>
Use poppler instead of including xpdf source code. Poppler is a
fork of xpdf to build it as a shared library. See
http://freedesktop.org/wiki/Software/poppler.
* pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
xpdf fork.
* pdf/Makefile.am: Build libpdfdocument.a here.
* pdf/GDKSplashOutputDev.cc:
* pdf/GDKSplashOutputDev.h:
* pdf/GnomeVFSStream.cc:
* pdf/GnomeVFSStream.h:
* pdf-document.cc:
* pdf-document.h:
* test-gdk-output-dev.cc
* Thumb.cc:
* Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
against poppler.
Diffstat (limited to 'pdf/goo/vms_dirent.h')
-rw-r--r-- | pdf/goo/vms_dirent.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/pdf/goo/vms_dirent.h b/pdf/goo/vms_dirent.h deleted file mode 100644 index 13e21a0..0000000 --- a/pdf/goo/vms_dirent.h +++ /dev/null @@ -1,67 +0,0 @@ -/* @(#)dirent.h 1.7 89/06/25 SMI */ - -/* - * Filesystem-independent directory information. - */ - -#ifndef __dirent_h -#define __dirent_h - -#ifdef __cplusplus -extern "C" { -#endif - -/* Make sure we don't get the V7 RTL dirent functions. These are broken. */ - -#ifndef __CRTL_VER -# define __CRTL_VER __VMS_VER -#endif -#if __CRTL_VER >= 70000000 -#include <dirent.h> -#endif - -#include <types.h> - -#define opendir goo_opendir -#define readdir goo_readdir -#define closedir goo_closedir -#define seekdir goo_seekdir -#define telldir goo_telldir -#define rewinddir goo_rewindir -#define DIR GOO_DIR - -#ifndef _POSIX_SOURCE -#define d_ino d_fileno /* compatability */ -#ifndef NULL -#define NULL 0 -#endif -#endif /* !_POSIX_SOURCE */ - -/* - * Definitions for library routines operating on directories. - */ -typedef struct __dirdesc { - unsigned long dd_fd; /* file descriptor */ - long dd_loc; /* buf offset of entry from last readddir() */ - long dd_size; /* amount of valid data in buffer */ - long dd_bsize; /* amount of entries read at a time */ - long dd_off; /* Current offset in dir (for telldir) */ - char *dd_buf; /* directory data buffer */ -} DIR; - -#include "vms_sys_dirent.h" - -extern DIR *opendir(char *dirname); -extern struct dirent *readdir(DIR *dirp); -extern void closedir(DIR *dirp); -#ifndef _POSIX_SOURCE -extern void seekdir(DIR *dirp, int loc); -extern long telldir(DIR *dirp); -#endif /* POSIX_SOURCE */ -extern void rewinddir(DIR *dirp); - -#ifdef __cplusplus -} -#endif - -#endif /* !__dirent_h */ |