summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/tests/libntp/sockaddrtest.h
blob: 8450fb6b2c91216c38cf3aba44d114cb9365419c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef TESTS_SOCKADDRTEST_H
#define TESTS_SOCKADDRTEST_H

#include "config.h"
#include "ntp.h"
#include "ntp_stdlib.h"


sockaddr_u CreateSockaddr4(const char* address, unsigned int port);

int IsEqual(const sockaddr_u expected, const sockaddr_u actual);

#endif // TESTS_SOCKADDRTEST_H
OpenPOWER on IntegriCloud