mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-03 14:06:09 +01:00
36 lines
501 B
C
36 lines
501 B
C
// stubs so I can compile HTTP server on Windows for testing and faster development
|
|
#include "new_common.h"
|
|
|
|
#if WINDOWS
|
|
|
|
void CMD_StartTCPCommandLine() {
|
|
|
|
}
|
|
|
|
void Main_SetupPingWatchDog(const char *target/*, int delayBetweenPings_Seconds*/) {
|
|
|
|
}
|
|
int PingWatchDog_GetTotalLost() {
|
|
return 0;
|
|
}
|
|
int PingWatchDog_GetTotalReceived() {
|
|
return 0;
|
|
}
|
|
|
|
|
|
// placeholder - TODO
|
|
char myIP[] = "127.0.0.1";
|
|
char *getMyIp() {
|
|
return myIP;
|
|
}
|
|
|
|
#ifndef LINUX
|
|
void __asm__(const char *s) {
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
#endif |