You've already forked Http_Cyclone
mirror of
https://github.com/AdaCore/Http_Cyclone.git
synced 2026-02-12 13:07:39 -08:00
14 lines
302 B
C
14 lines
302 B
C
#include "core/socket.h"
|
|
|
|
struct socketModel {
|
|
uint_t type;
|
|
uint_t protocol;
|
|
IpAddr localIpAddr;
|
|
uint16_t localPort;
|
|
IpAddr remoteIpAddr;
|
|
uint16_t remotePort;
|
|
};
|
|
|
|
struct socketModel* toSockModel(Socket* socket);
|
|
|
|
int equalSocketModel(Socket* socket, struct socketModel* sModel); |