summaryrefslogtreecommitdiff
path: root/BBSUtilities.c
diff options
context:
space:
mode:
Diffstat (limited to 'BBSUtilities.c')
-rw-r--r--BBSUtilities.c10
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)