i have problem with understanding below struct in c language ! i understand what is a struct and what it use for but this one seems weird for me and i can't see the standard form of struct like it's described in c learning websites like www.geeksforgeeks.org !
It's nothing more in code about this struct !
typedef struct sIMasterConnection* IMasterConnection;
struct sIMasterConnection {
bool (*isReady) (IMasterConnection self);
bool (*sendASDU) (IMasterConnection self, CS101_ASDU asdu);
bool (*sendACT_CON) (IMasterConnection self, CS101_ASDU asdu, bool negative);
bool (*sendACT_TERM) (IMasterConnection self, CS101_ASDU asdu);
void (*close) (IMasterConnection self);
int (*getPeerAddress) (IMasterConnection self, char* addrBuf, int addrBufSize);
CS101_AppLayerParameters (*getApplicationLayerParameters) (IMasterConnection self);
void* object;
};