aboutsummaryrefslogtreecommitdiff
path: root/lib/libXDAAP/libXDAAP.h
blob: 9c10a3bf9cfdd70eb8a2f8abb0e36cde142f3b2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifdef WIN32
#include <windows.h>
#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

#include "client.h"
#include "httpClient.h"
/*
#include "daap.h"
#include "daap_contentcodes.h"
#include "dmap_generics.h"
#include "Authentication/hasher.h"
*/

#define DAAP_SOCKET_FD_TYPE          SOCKET
#ifdef _LINUX
#define DAAP_SOCKET_CLOSE			close
#else
#define DAAP_SOCKET_CLOSE            closesocket
#endif
#define DAAP_SOCKET_WRITE(s, b, l)   send((s), (b), (l), 0)
#define DAAP_SOCKET_READ(s, b, l)    recv((s), (b), (l), 0)