xbps_api.h -> xbps.h

This commit is contained in:
Juan RP 2013-06-20 12:31:02 +02:00
parent cccc9de7de
commit 09e116b7f0
41 changed files with 40 additions and 40 deletions

View File

@ -41,7 +41,7 @@
#include <libgen.h> #include <libgen.h>
#include <locale.h> #include <locale.h>
#include <xbps_api.h> #include <xbps.h>
#include "queue.h" #include "queue.h"
#ifdef __clang__ #ifdef __clang__

View File

@ -32,7 +32,7 @@
#include <unistd.h> #include <unistd.h>
#include <inttypes.h> #include <inttypes.h>
#include <xbps_api.h> #include <xbps.h>
#ifdef __clang__ #ifdef __clang__
#pragma clang diagnostic ignored "-Wformat-nonliteral" #pragma clang diagnostic ignored "-Wformat-nonliteral"

View File

@ -27,7 +27,7 @@
#define _XBPS_INSTALL_DEFS_H_ #define _XBPS_INSTALL_DEFS_H_
#include <sys/time.h> #include <sys/time.h>
#include <xbps_api.h> #include <xbps.h>
struct xferstat { struct xferstat {
struct timeval start; struct timeval start;

View File

@ -40,7 +40,7 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
#include "config.h" #include "config.h"

View File

@ -34,7 +34,7 @@
#include <unistd.h> #include <unistd.h>
#include <getopt.h> #include <getopt.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
static void __attribute__((noreturn)) static void __attribute__((noreturn))

View File

@ -28,7 +28,7 @@
#include <errno.h> #include <errno.h>
#include <syslog.h> #include <syslog.h>
#include <assert.h> #include <assert.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
void void

View File

@ -33,7 +33,7 @@
#include <unistd.h> #include <unistd.h>
#include <limits.h> #include <limits.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
struct transaction { struct transaction {

View File

@ -32,7 +32,7 @@
#include <strings.h> #include <strings.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
int int

View File

@ -33,7 +33,7 @@
#include <pthread.h> #include <pthread.h>
#include <assert.h> #include <assert.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
struct thread_data { struct thread_data {

View File

@ -31,7 +31,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/param.h> #include <sys/param.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
/* /*

View File

@ -32,7 +32,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/param.h> #include <sys/param.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
/* /*

View File

@ -33,7 +33,7 @@
#include <libgen.h> #include <libgen.h>
#include <sys/param.h> #include <sys/param.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
/* /*

View File

@ -32,7 +32,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/param.h> #include <sys/param.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
/* /*

View File

@ -35,7 +35,7 @@
#include <unistd.h> #include <unistd.h>
#include <assert.h> #include <assert.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
/* /*

View File

@ -27,7 +27,7 @@
#define _XBPS_PKGDB_DEFS_H_ #define _XBPS_PKGDB_DEFS_H_
#include <sys/time.h> #include <sys/time.h>
#include <xbps_api.h> #include <xbps.h>
/* from check.c */ /* from check.c */
int check_pkg_integrity(struct xbps_handle *, xbps_dictionary_t, const char *); int check_pkg_integrity(struct xbps_handle *, xbps_dictionary_t, const char *);

View File

@ -31,7 +31,7 @@
#include <getopt.h> #include <getopt.h>
#include <errno.h> #include <errno.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
static void __attribute__((noreturn)) static void __attribute__((noreturn))

View File

@ -26,7 +26,7 @@
#ifndef _XBPS_QUERY_DEFS_H_ #ifndef _XBPS_QUERY_DEFS_H_
#define _XBPS_QUERY_DEFS_H_ #define _XBPS_QUERY_DEFS_H_
#include <xbps_api.h> #include <xbps.h>
#include "../xbps-install/defs.h" #include "../xbps-install/defs.h"

View File

@ -29,7 +29,7 @@
#include <getopt.h> #include <getopt.h>
#include <errno.h> #include <errno.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
static void __attribute__((noreturn)) static void __attribute__((noreturn))

View File

@ -32,7 +32,7 @@
#include <dirent.h> #include <dirent.h>
#include <assert.h> #include <assert.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
struct ffdata { struct ffdata {

View File

@ -41,7 +41,7 @@
#include <fnmatch.h> #include <fnmatch.h>
#include <assert.h> #include <assert.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
struct search_data { struct search_data {

View File

@ -30,7 +30,7 @@
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
static void static void

View File

@ -33,7 +33,7 @@
#include <fnmatch.h> #include <fnmatch.h>
#include <assert.h> #include <assert.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
static void static void

View File

@ -31,7 +31,7 @@
#include <getopt.h> #include <getopt.h>
#include <syslog.h> #include <syslog.h>
#include <xbps_api.h> #include <xbps.h>
static void __attribute__((noreturn)) static void __attribute__((noreturn))
usage(bool fail) usage(bool fail)

View File

@ -36,7 +36,7 @@
#include <dirent.h> #include <dirent.h>
#include <syslog.h> #include <syslog.h>
#include <xbps_api.h> #include <xbps.h>
#include "../xbps-install/defs.h" #include "../xbps-install/defs.h"
static void __attribute__((noreturn)) static void __attribute__((noreturn))

View File

@ -26,7 +26,7 @@
#ifndef _XBPS_RINDEX_DEFS_H_ #ifndef _XBPS_RINDEX_DEFS_H_
#define _XBPS_RINDEX_DEFS_H_ #define _XBPS_RINDEX_DEFS_H_
#include <xbps_api.h> #include <xbps.h>
/* From index-add.c */ /* From index-add.c */
int index_add(struct xbps_handle *, int, char **, bool); int index_add(struct xbps_handle *, int, char **, bool);

View File

@ -34,7 +34,7 @@
#include <assert.h> #include <assert.h>
#include <fcntl.h> #include <fcntl.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
/* /*

View File

@ -35,7 +35,7 @@
#include <pthread.h> #include <pthread.h>
#include <fcntl.h> #include <fcntl.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
struct thread_data { struct thread_data {

View File

@ -34,7 +34,7 @@
#include <assert.h> #include <assert.h>
#include <pthread.h> #include <pthread.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
struct thread_data { struct thread_data {

View File

@ -34,7 +34,7 @@
#include <assert.h> #include <assert.h>
#include <fcntl.h> #include <fcntl.h>
#include <xbps_api.h> #include <xbps.h>
#include "defs.h" #include "defs.h"
int int

View File

@ -33,7 +33,7 @@
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <xbps_api.h> #include <xbps.h>
#include "../xbps-install/defs.h" #include "../xbps-install/defs.h"
static void static void

View File

@ -1,6 +1,6 @@
-include ../config.mk -include ../config.mk
INCS = xbps_api.h INCS = xbps.h
.PHONY: all .PHONY: all
all: all:

View File

@ -34,7 +34,7 @@
#include <assert.h> #include <assert.h>
#include <confuse.h> #include <confuse.h>
#define LIBXBPS_PRIVATE #define LIBXBPS_PRIVATE
#include <xbps_api.h> #include <xbps.h>
/* /*
* By default all public functions have default visibility, unless * By default all public functions have default visibility, unless

View File

@ -25,7 +25,7 @@
*/ */
#include <atf-c.h> #include <atf-c.h>
#include <xbps_api.h> #include <xbps.h>
ATF_TC(cmpver_test); ATF_TC(cmpver_test);

View File

@ -24,7 +24,7 @@
*- *-
*/ */
#include <atf-c.h> #include <atf-c.h>
#include <xbps_api.h> #include <xbps.h>
static void static void
append_file(xbps_dictionary_t d, const char *key, const char *fpath) append_file(xbps_dictionary_t d, const char *key, const char *fpath)

View File

@ -24,7 +24,7 @@
*- *-
*/ */
#include <atf-c.h> #include <atf-c.h>
#include <xbps_api.h> #include <xbps.h>
static const char expected_output[] = static const char expected_output[] =
"xbps-git-20130310_2\n" "xbps-git-20130310_2\n"

View File

@ -24,7 +24,7 @@
*- *-
*/ */
#include <atf-c.h> #include <atf-c.h>
#include <xbps_api.h> #include <xbps.h>
ATF_TC(pkgdb_get_pkg_test); ATF_TC(pkgdb_get_pkg_test);
ATF_TC_HEAD(pkgdb_get_pkg_test, tc) ATF_TC_HEAD(pkgdb_get_pkg_test, tc)

View File

@ -24,7 +24,7 @@
*- *-
*/ */
#include <atf-c.h> #include <atf-c.h>
#include <xbps_api.h> #include <xbps.h>
ATF_TC(pkgpattern_match_test); ATF_TC(pkgpattern_match_test);

View File

@ -24,7 +24,7 @@
*- *-
*/ */
#include <atf-c.h> #include <atf-c.h>
#include <xbps_api.h> #include <xbps.h>
static xbps_array_t static xbps_array_t
array_init(void) array_init(void)

View File

@ -24,7 +24,7 @@
*- *-
*/ */
#include <atf-c.h> #include <atf-c.h>
#include <xbps_api.h> #include <xbps.h>
static xbps_array_t static xbps_array_t
rundeps_init(void) rundeps_init(void)

View File

@ -25,7 +25,7 @@
*/ */
#include <string.h> #include <string.h>
#include <atf-c.h> #include <atf-c.h>
#include <xbps_api.h> #include <xbps.h>
ATF_TC(util_test); ATF_TC(util_test);