diff options
| author | g8bpq <john.wiseman@cantab.net> | 2022-11-12 15:00:02 +0000 |
|---|---|---|
| committer | g8bpq <john.wiseman@cantab.net> | 2022-11-12 15:00:02 +0000 |
| commit | e3db09d2557584d2026b8801d972390507269714 (patch) | |
| tree | 7235cef336bd30b3900f402f97d07f4241a5848a /BBSUtilities.c | |
| parent | 9b5f7ccff68da51f53ea46ad2c85c9de8fbc2e56 (diff) | |
6.0.23.2523.26
Diffstat (limited to 'BBSUtilities.c')
| -rw-r--r-- | BBSUtilities.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/BBSUtilities.c b/BBSUtilities.c index e8adc81..4d04579 100644 --- a/BBSUtilities.c +++ b/BBSUtilities.c @@ -58,10 +58,13 @@ extern char LOC[7]; extern BPQVECSTRUC ** BPQHOSTVECPTR;
UCHAR * GetLogDirectory();
DllExport int APIENTRY SessionStateNoAck(int stream, int * state);
+int RefreshWebMailIndex();
#else
__declspec(dllimport) BPQVECSTRUC ** BPQHOSTVECPTR;
typedef char * (WINAPI FAR *FARPROCZ)();
+typedef int (WINAPI FAR *FARPROCX)();
FARPROCZ pGetLOC;
+FARPROCX pRefreshWebMailIndex;
#endif
@@ -1507,6 +1510,13 @@ VOID SaveMessageDatabase() // SaveConfig(ConfigName); // Message Headers now in main config
// return;
+#ifdef LINBPQ
+ RefreshWebMailIndex();
+#else
+ if (pRefreshWebMailIndex)
+ pRefreshWebMailIndex();
+#endif
+
Handle = fopen(MsgDatabasePath, "wb");
if (Handle == NULL)
|
