diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-07-14 23:14:11 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-07-14 23:14:11 +0100 |
| commit | b2315840b26a7ae5c38b0f9ed25e597f320c545e (patch) | |
| tree | 4eaec3a3c8f5825155c5a94161dbd7e360a35c0e /CommonCode.c | |
| parent | 0d3ee7fd56efa24ba652fbc17f98dd10458e8054 (diff) | |
New upstream version 6.0.24.75+repackupstream/6.0.24.75+repack
Diffstat (limited to 'CommonCode.c')
| -rw-r--r-- | CommonCode.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/CommonCode.c b/CommonCode.c index ecac115..9c0032d 100644 --- a/CommonCode.c +++ b/CommonCode.c @@ -2142,7 +2142,16 @@ int CanPortDigi(int Port) return TRUE;
}
-struct PORTCONTROL * APIENTRY GetPortTableEntryFromPortNum(int portnum)
+DllExport int APIENTRY GetPortHardwareType(struct PORTCONTROL *PORT)
+{
+ if (PORT)
+ return PORT->Hardware;
+
+ return 0;
+}
+
+
+DllExport struct PORTCONTROL * APIENTRY GetPortTableEntryFromPortNum(int portnum)
{
struct PORTCONTROL * PORTVEC = PORTTABLE;
|
