- added SCPf function (general SCPrintf)

- removed sendingConnection stuff (no longer used)
- removed COMLOG Signal handling (no longer used)
This commit is contained in:
2017-06-14 14:00:21 +02:00
parent 1ad96e2c47
commit 00a446a756
2 changed files with 35 additions and 31 deletions

View File

@ -100,6 +100,7 @@ int SCWrite(SConnection * self, char *pBuffer, int iOut);
#define G_GNUC_PRINTF( format_idx, arg_idx )
#endif
int SCPrintf(SConnection * self, int iOut, char *fmt, ...) G_GNUC_PRINTF (3, 4);
int SCPf(writeFunc func, SConnection * self, int iOut, char *fmt, ...) G_GNUC_PRINTF (4, 5);
#undef G_GNUC_PRINTF
int SCRead(SConnection * self, char *pBuffer, int iBufLen);
int SCPrompt(SConnection * pCon, char *pPrompt, char *pResult, int iLen);