build.c buildio.h expression.c files.c misc.c names.c pack.c \
parseBuildInstallClean.c parseChangelog.c parseDescription.c \
parseFiles.c parsePreamble.c parsePrep.c parseReqs.c parseScript.c \
- parseSpec.c poptBT.c reqprov.c rpmfc.c spec.c
+ parseSpec.c poptBT.c reqprov.c rpmfc.c spec.c fts.h fts.c
+
librpmbuild_la_LDFLAGS = -version-info 1:0:0
librpmbuild_la_LIBADD = \
$(top_builddir)/lib/librpm.la \
#include "rpmio/rpmio_internal.h" /* XXX rpmioSlurp */
#include "rpmio/base64.h"
-#include "rpmio/fts.h"
+#include "build/fts.h"
#include "lib/cpio.h"
#include "lib/rpmfi_internal.h" /* XXX fi->apath */
#include "build/buildio.h"
#include <fcntl.h>
#include <dirent.h>
#include <errno.h>
-#include "rpmio/fts.h"
+#include "build/fts.h"
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "system.h"
#include <string.h>
#include <errno.h>
-#include "rpmio/fts.h"
+#include "build/fts.h"
#include <rpm/rpmio.h>
#include <rpm/rpmurl.h>
# define __set_errno(val) (*__errno_location ()) = (val)
#ifndef _FTS_H
#define _FTS_H 1
+#include <rpm/rpmutil.h>
+
#if defined(__GLIBC__)
#include <features.h>
#else
* @param instr
* @return file set member
*/
+RPM_GNUC_INTERNAL
FTSENT *Fts_children (FTS * sp, int instr) __THROW
;
* @param sp file hierarchy state
* @return 0 on sucess, -1 on error
*/
+RPM_GNUC_INTERNAL
int Fts_close (FTS * sp) __THROW
;
* @param compar traversal ordering (or NULL)
* @return file hierarchy state (or NULL on error)
*/
+RPM_GNUC_INTERNAL
FTS *Fts_open (char * const * argv, int options,
int (*compar) (const FTSENT **, const FTSENT **)) __THROW
;
* @param sp file hierarchy state
* @return file set member
*/
+RPM_GNUC_INTERNAL
FTSENT *Fts_read (FTS * sp) __THROW
;
* @param instr new disposition for file set member
* @return 0 on sucess, -1 on error
*/
+RPM_GNUC_INTERNAL
int Fts_set (FTS * sp, FTSENT * p, int instr) __THROW
;
usrlibdir = $(libdir)
usrlib_LTLIBRARIES = librpmio.la
librpmio_la_SOURCES = \
- argv.c base64.h base64.c digest.h digest.c fts.c macro.c \
+ argv.c base64.h base64.c digest.h digest.c macro.c \
rpmhook.c rpmio.c rpmlog.c rpmlua.c rpmmalloc.c \
rpmpgp.c rpmsq.c rpmsw.c url.c \
- rpmio_internal.h rpmlua.h rpmhook.h fts.h \
+ rpmio_internal.h rpmlua.h rpmhook.h \
rpmstring.c rpmfileutil.c \
rpmkeyring.c