16 lines
422 B
C
16 lines
422 B
C
#ifndef CHECKKILLSWITCH_H_INCLUDED
|
|
#define CHECKKILLSWITCH_H_INCLUDED
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include <arpa/inet.h>
|
|
#include <string.h>
|
|
#include <sys/time.h>
|
|
|
|
|
|
int getPage(char* ip, uint16_t port, char* url, char* recvBuffer, uint32_t size, uint32_t timeout_us);
|
|
int checkkillswitch(char* ip, uint16_t port, char* url, uint32_t timeout_us);
|
|
|
|
#endif // CHECKKILLSWITCH_H_INCLUDED
|