#include <stdio.h>
#include "objson/object.h"
#include "objson/json_parser.h"
-#include "utils.h"
+#include "opensrf/utils.h"
char* json_string_to_xml(char*);
void _rest_xml_output(growing_buffer*, object*, char*, int, int);
-#include "utils.h"
-#include "logging.h"
-#include "socket_bundle.h"
+#include "opensrf/utils.h"
+#include "opensrf/logging.h"
+#include "opensrf/socket_bundle.h"
#include "jserver-c_session.h"
#include "jstrings.h"
#define _GNU_SOURCE
-#include "utils.h"
-#include "logging.h"
+#include "opensrf/utils.h"
+#include "opensrf/logging.h"
#include "jstrings.h"
#define _OSRF_CONFIG_H
#include "xml_utils.h"
-#include "utils.h"
-#include "string_array.h"
+#include "opensrf/utils.h"
+#include "opensrf/string_array.h"
#include "objson/object.h"
typedef struct {
#include "opensrf/transport_client.h"
#include "osrf_message.h"
#include "osrf_system.h"
-#include "string_array.h"
-//#include "osrf_config.h"
+#include "opensrf/string_array.h"
#include "osrfConfig.h"
#include "objson/object.h"
-#include "string_array.h"
-#include "utils.h"
-#include "logging.h"
+#include "opensrf/string_array.h"
+#include "opensrf/utils.h"
+#include "opensrf/logging.h"
#include "objson/object.h"
#include "objson/json_parser.h"
#include <sys/select.h>
#include <sys/wait.h>
-#include "utils.h"
+#include "opensrf/utils.h"
#include "opensrf/transport_message.h"
#include "osrf_stack.h"
#include "osrf_settings.h"
#include <time.h>
#include <stdarg.h>
-#include "logging.h"
-#include "utils.h"
+#include "opensrf/logging.h"
+#include "opensrf/utils.h"
#include "objson/object.h"
#include "objson/json_parser.h"
#include "osrf_app_session.h"
#define OSRF_SYSTEM_H
#include "opensrf/transport_client.h"
-#include "utils.h"
-#include "logging.h"
-//#include "osrf_config.h"
+#include "opensrf/utils.h"
+#include "opensrf/logging.h"
#include "osrf_settings.h"
#include "osrfConfig.h"
#include "transport_session.h"
-#include "utils.h"
-#include "logging.h"
+#include "opensrf/utils.h"
+#include "opensrf/logging.h"
#include <time.h>
#include <libxml/debugXML.h>
#include <libxml/xmlmemory.h>
-#include "utils.h"
-#include "logging.h"
+#include "opensrf/utils.h"
+#include "opensrf/logging.h"
#ifndef TRANSPORT_MESSAGE_H
#define TRANSPORT_MESSAGE_H
// ---------------------------------------------------------------------------------
#include "transport_message.h"
-#include "utils.h"
-#include "logging.h"
-#include "socket_bundle.h"
+#include "opensrf/utils.h"
+#include "opensrf/logging.h"
+#include "opensrf/socket_bundle.h"
#include "sha.h"
#include <stdio.h>
#include "object.h"
-#include "utils.h"
+#include "opensrf/utils.h"
#include <stdlib.h>
#include <string.h>
-#include "utils.h"
+#include "opensrf/utils.h"
/* json object types */
#define JSON_HASH 0
#include "opensrf/transport_message.h"
#include "opensrf/osrf_message.h"
-#include "utils.h"
-#include "logging.h"
-#include "osrfConfig.h"
+#include "opensrf/utils.h"
+#include "opensrf/logging.h"
+#include "opensrf/osrfConfig.h"
#include <time.h>
#include <sys/select.h>
install:
echo installing libc_utils.so
- cp $(UTIL_HEADERS) $(INCLUDEDIR)/
- cp xml_utils.h $(INCLUDEDIR)/
+ cp $(UTIL_HEADERS) $(INCLUDEDIR)/$(OPENSRF)/
+ cp xml_utils.h $(INCLUDEDIR)/$(OPENSRF)/
cp $(TMPDIR)/libc_utils.so $(LIBDIR)/
libc_utils.so: $(UTIL_OBJECTS)