diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-12-16 17:54:16 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-12-17 17:45:09 +0000 |
| commit | 87cd041888dbeefe040b44b2d0a6945d8b850630 (patch) | |
| tree | 90ddbd87b5e84f3f037b1721389b1061c7c15d34 /FLDigi.c | |
| parent | 96c573931d40b6b191614c96299d66ca6217d1d8 (diff) | |
New upstream version 6.0.24.54+repack
Diffstat (limited to 'FLDigi.c')
| -rw-r--r-- | FLDigi.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -65,12 +65,12 @@ extern int (WINAPI FAR *GetModuleFileNameExPtr)(); ;
int SemHeldByAPI;
-static void ConnecttoFLDigiThread(void * portptr);
+void ConnecttoFLDigiThread(void * portptr);
void CreateMHWindow();
int Update_MH_List(struct in_addr ipad, char * call, char proto);
-static int ConnecttoFLDigi();
+int ConnecttoFLDigi(int port);
static int ProcessReceivedData(int bpqport);
static int ProcessLine(char * buf, int Port);
int KillTNC(struct TNCINFO * TNC);
@@ -102,8 +102,6 @@ VOID SuspendOtherPorts(struct TNCINFO * ThisTNC); VOID ReleaseOtherPorts(struct TNCINFO * ThisTNC);
VOID WritetoTrace(struct TNCINFO * TNC, char * Msg, int Len);
-char * strlop(char * buf, char delim);
-
extern UCHAR BPQDirectory[];
#define MAXMPSKPORTS 16
@@ -1483,14 +1481,14 @@ static int ProcessLine(char * buf, int Port) return (TRUE);
}
-static int ConnecttoFLDigi(int port)
+int ConnecttoFLDigi(int port)
{
_beginthread(ConnecttoFLDigiThread, 0, (void *)(size_t)port);
return 0;
}
-static VOID ConnecttoFLDigiThread(void * portptr)
+VOID ConnecttoFLDigiThread(void * portptr)
{
int port = (int)(size_t)portptr;
char Msg[255];
@@ -2581,7 +2579,7 @@ VOID ProcessFLDigiData(struct TNCINFO * TNC, UCHAR * Input, int Len, char Channe {
char AppName[13];
- memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
+ memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
AppName[12] = 0;
// Make sure app is available
|
