diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-07-14 23:14:14 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-07-14 23:14:14 +0100 |
| commit | 6371d5385ae320bdbb75e566ccfc4dbc7e251c52 (patch) | |
| tree | b305bb99497040f17319f1f2d6f54a9acb7d1bce /CommonCode.c | |
| parent | 8d3874ec4ebac0285b35bc95f855490cf279ff81 (diff) | |
| parent | b2315840b26a7ae5c38b0f9ed25e597f320c545e (diff) | |
Update upstream source from tag 'upstream/6.0.24.75+repack'
Update to upstream version '6.0.24.75+repack'
with Debian dir 8aa30a6de888434886bea9ed7b969dec57e4a43b
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;
|
