File bioapi-1.2.3.dif of Package bioapi
--- addins/dl/mds/dal_classes.h
+++ addins/dl/mds/dal_classes.h 2005/12/22 14:16:18
@@ -455,7 +455,7 @@
DAL_DATABASE_INFO_REF_PTR &prefDatabase,
PORT_MUTEX_HANDLE &Mutex);
- CSSM_RETURN DAL_DATABASE_INFO_LIST::GetDBNamesAndParameters(
+ CSSM_RETURN GetDBNamesAndParameters(
CSSM_DL_DB_HANDLE DLDBHandle,
DAL_DB_OPEN_PARAM_PTR pParam);
};
--- addins/dl/mds/mds_init_fini.c
+++ addins/dl/mds/mds_init_fini.c 2005/12/22 14:58:51
@@ -15,11 +15,11 @@
int _fini_mds();
int _init()
{
- _init_mds();
+ return _init_mds();
}
int _fini()
{
- _fini_mds();
+ return _fini_mds();
}
#endif
--- addins/pwbsp/mod_manage.c
+++ addins/pwbsp/mod_manage.c 2005/12/22 14:47:45
@@ -286,6 +286,7 @@
BSP_DEVICE_ID,
0,/* reserver */
BioAPI_NOTIFY_REMOVE);
+ return NULL;
}
#if defined (WIN32)
@@ -321,6 +322,7 @@
123,
0,/* reserver */
BioAPI_NOTIFY_INSERT);
+ return err;
}
BioAPI_RETURN Addin_callout_ModuleAttach(
--- addins/qtpwbsp/mod_manage.c
+++ addins/qtpwbsp/mod_manage.c 2005/12/22 14:39:57
@@ -286,6 +286,7 @@
BSP_DEVICE_ID,
0,/* reserver */
BioAPI_NOTIFY_REMOVE);
+ return NULL;
}
#if defined (WIN32)
@@ -321,6 +322,7 @@
123,
0,/* reserver */
BioAPI_NOTIFY_INSERT);
+ return err;
}
BioAPI_RETURN Addin_callout_ModuleAttach(
--- apps/Cmds/QDirectory.h
+++ apps/Cmds/QDirectory.h 2005/12/22 14:16:18
@@ -5,6 +5,7 @@
#include <mds.h>
class QRecType;
+class QMDS;
class QDirectory
{
--- apps/NonGUI_Sample/main.c
+++ apps/NonGUI_Sample/main.c 2005/12/22 15:07:53
@@ -115,7 +115,7 @@
BioAPI_Terminate();
printf("Ending Sample Application\n");
-
+ return 0;
}
@@ -235,6 +235,7 @@
OutputToFile(userName, EnrolledTemplate);
}
+ return 1;
}
void SetToPasswordBSP(int idx) {
--- apps/Test/main.c
+++ apps/Test/main.c 2005/12/22 15:09:56
@@ -81,7 +81,7 @@
BioAPI_Terminate();
printf("Ending BioAPI Test Application\n");
-
+ return 0;
}
void PrintErrorCode(BioAPI_RETURN bioReturn) {
--- framework/h_layer/manage_interface.c
+++ framework/h_layer/manage_interface.c 2005/12/22 14:58:01
@@ -50,6 +50,7 @@
hInitMutex = &initMutex;
#endif
/* RETURN_EXPRESSION(DllMain (NULL, DLL_PROCESS_ATTACH, NULL))*/
+ return 0;
}
int _fini()
@@ -57,6 +58,7 @@
/* TBD: add code to differentiate between thread and process */
/* RETURN_EXPRESSION(DllMain (NULL, DLL_PROCESS_DETACH, NULL))*/
+ return 0;
}
#endif
--- framework/port/port.c
+++ framework/port/port.c 2005/12/22 14:56:32
@@ -240,6 +240,7 @@
closedir(pDir);
RETURN(CSSM_OK)
}
+ RETURN(0)
}
CSSM_BOOL CopyFile(char* lpExistingFileName, char* lpNewFileName, CSSM_BOOL bFailIfExists)
--- include/bioapi_util.h
+++ include/bioapi_util.h 2005/12/22 14:16:18
@@ -162,7 +162,7 @@
/* Update: not all Linux machines are PCs (i.e. little endian) ! So endian-ness
* is now determined by the configure script based on the CPU arch
-#if defined (WIN32) || defined (LINUX)
+#if defined (WIN32)
#define LITTLE_ENDIAN
#endif
*/