$(SED_PROCESS)
pkginclude_HEADERS = \
- src/loc/format.h \
src/loc/libloc.h \
+ src/loc/as.h \
+ src/loc/database.h \
+ src/loc/format.h \
+ src/loc/network.h \
+ src/loc/private.h \
+ src/loc/stringpool.h \
src/loc/writer.h
lib_LTLIBRARIES = \
src/libloc.la
-src_libloc_la_SOURCES =\
- src/libloc-private.h \
+src_libloc_la_SOURCES = \
src/libloc.c \
src/as.c \
- src/as.h \
src/database.c \
- src/database.h \
src/network.c \
src/stringpool.c \
- src/stringpool.h \
src/writer.c
EXTRA_DIST += src/libloc.sym
#include <stdlib.h>
#include <loc/libloc.h>
+#include <loc/as.h>
#include <loc/format.h>
-
-#include "libloc-private.h"
-#include "as.h"
-#include "stringpool.h"
+#include <loc/private.h>
+#include <loc/stringpool.h>
struct loc_as {
struct loc_ctx* ctx;
#include <unistd.h>
#include <loc/libloc.h>
+#include <loc/as.h>
+#include <loc/database.h>
#include <loc/format.h>
-
-#include "libloc-private.h"
-#include "as.h"
-#include "database.h"
-#include "stringpool.h"
+#include <loc/private.h>
+#include <loc/stringpool.h>
struct loc_database {
struct loc_ctx* ctx;
#include <ctype.h>
#include <loc/libloc.h>
-#include "libloc-private.h"
-#include "database.h"
+#include <loc/database.h>
+#include <loc/private.h>
struct loc_ctx {
int refcount;
#include <loc/libloc.h>
#include <loc/format.h>
-
-#include "stringpool.h"
+#include <loc/stringpool.h>
struct loc_as;
int loc_as_new(struct loc_ctx* ctx, struct loc_stringpool* pool, struct loc_as** as, uint32_t number);
#include <stdint.h>
#include <loc/libloc.h>
-
-#include "as.h"
+#include <loc/as.h>
struct loc_database;
int loc_database_new(struct loc_ctx* ctx, struct loc_database** database, FILE* f);
#include <stdio.h>
#include <loc/libloc.h>
+#include <loc/as.h>
#include <loc/network.h>
-#include "as.h"
-
struct loc_writer;
int loc_writer_new(struct loc_ctx* ctx, struct loc_writer** writer);
#include <string.h>
#include <loc/libloc.h>
+#include <loc/as.h>
#include <loc/network.h>
-
-#include "libloc-private.h"
-#include "as.h"
+#include <loc/private.h>
struct loc_network {
struct loc_ctx* ctx;
#include <Python.h>
-#include "../database.h"
+#include <loc/libloc.h>
+#include <loc/database.h>
+
#include "database.h"
static PyObject* Database_new(PyTypeObject* type, PyObject* args, PyObject* kwds) {
#include <loc/libloc.h>
#include <loc/format.h>
-#include "libloc-private.h"
-#include "stringpool.h"
+#include <loc/private.h>
+#include <loc/stringpool.h>
enum loc_stringpool_mode {
STRINGPOOL_DEFAULT,
#include <string.h>
#include <loc/libloc.h>
+#include <loc/database.h>
#include <loc/writer.h>
-#include "database.h"
#define TEST_AS_COUNT 5000
#include <unistd.h>
#include <loc/libloc.h>
+#include <loc/database.h>
#include <loc/writer.h>
-#include "database.h"
const char* VENDOR = "Test Vendor";
const char* DESCRIPTION =
#include <time.h>
#include <loc/libloc.h>
-#include "stringpool.h"
+#include <loc/stringpool.h>
static const char* characters = "012345789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
#include <string.h>
#include <time.h>
+#include <loc/libloc.h>
+#include <loc/as.h>
#include <loc/format.h>
#include <loc/network.h>
+#include <loc/private.h>
#include <loc/writer.h>
-#include "libloc-private.h"
-#include "as.h"
-
struct loc_writer {
struct loc_ctx* ctx;
int refcount;