#include "server_sockaddr.h"
/* include memdebug.h last */
-#include "memdebug.h"
+#include <memdebug.h>
static int dnsd_wrotepidfile = 0;
static int dnsd_wroteportfile = 0;
#include "getpart.h"
-#ifdef TEST
-#include "curl/curl.h"
-#include "warnless.h"
-#else
#include <curlx.h> /* from the private lib dir */
-#endif
-
#include "curl_memory.h"
-#ifndef TEST
/* include memdebug.h last */
-#include "memdebug.h"
-#endif
+#include <memdebug.h>
#define EAT_SPACE(p) while(*(p) && ISSPACE(*(p))) (p)++
return error;
}
-
-#ifdef TEST
-#include "../../lib/base64.c"
-#include "../../lib/warnless.c"
-/* Build with:
- * $ gcc getpart.c -DTEST -I../../include -I../../lib -DHAVE_CONFIG_H
- */
-int main(int argc, char **argv)
-{
- if(argc < 3) {
- printf("./getpart main sub\n");
- }
- else {
- char *part;
- size_t partlen;
- int rc = getpart(&part, &partlen, argv[1], argv[2], stdin);
- size_t i;
- if(rc)
- return rc;
- for(i = 0; i < partlen; i++)
- printf("%c", part[i]);
- free(part);
- }
- return 0;
-}
-#endif
#include "tool_binmode.h"
/* include memdebug.h last */
-#include "memdebug.h"
+#include <memdebug.h>
#define MQTT_MSG_CONNECT 0x10
#define MQTT_MSG_CONNACK 0x20
#include "util.h"
/* include memdebug.h last */
-#include "memdebug.h"
+#include <memdebug.h>
int main(int argc, char *argv[])
{
#include "server_sockaddr.h"
/* include memdebug.h last */
-#include "memdebug.h"
+#include <memdebug.h>
#undef REQBUFSIZ
#define REQBUFSIZ 150000
#include "tool_binmode.h"
/* include memdebug.h last */
-#include "memdebug.h"
+#include <memdebug.h>
/* buffer is this excessively large only to be able to support things like
test 1003 which tests exceedingly large server response lines */
#include "tool_binmode.h"
/* include memdebug.h last */
-#include "memdebug.h"
+#include <memdebug.h>
static const char *backendaddr = "127.0.0.1";
static unsigned short backendport = 0; /* default is use client's */
#include "server_sockaddr.h"
/* include memdebug.h last */
-#include "memdebug.h"
+#include <memdebug.h>
static bool use_gopher = FALSE;
static bool is_proxy = FALSE;
#include "tftp.h"
/* include memdebug.h last */
-#include "memdebug.h"
+#include <memdebug.h>
/*****************************************************************************
* STRUCT DECLARATIONS AND DEFINES *