* Copyright (c) 2001, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-z-databases.h,v 1.1 2001-11-06 17:08:05 adam Exp $
+ * $Id: yaz-z-databases.h,v 1.2 2002-04-24 13:16:47 heikki Exp $
*/
#include <yaz/proto.h>
-/** Z39.50 Databases list
+/** Z39.50 Databases list
*/
class YAZ_EXPORT Yaz_Z_Databases {
public:
* Copyright (c) 2001, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-z-databases.cpp,v 1.2 2001-11-06 20:33:32 adam Exp $
+ * $Id: yaz-z-databases.cpp,v 1.3 2002-04-24 13:16:47 heikki Exp $
*/
#include <string.h>
void Yaz_Z_Databases::set (int num, const char **db)
{
nmem_reset (nmem);
-
+
m_list = (char **) nmem_malloc (nmem, num * sizeof(char*));
m_num = num;
for (int i = 0; i<num; i++)
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib yazxx.lib yaz.lib wsock32.lib ursula.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/yazmyclient.exe" /pdbtype:sept /libpath:"../yazxx/debug" /libpath:"../../../yaz/lib" /libpath:"../../../yaz-ursula/win/debug" /libpath:"../../../yaz-ursula/win"
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib yazxx.lib yaz.lib wsock32.lib ursula.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/yazmyclient.exe" /pdbtype:sept /libpath:"../yazxx/debug" /libpath:"../../../yaz/lib" /libpath:"../../../yaz-ursula/win/debug" /libpath:"../../../yaz-ursula/win"
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib yazxx.lib yaz.lib wsock32.lib ursula.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/yazmyclient.exe" /pdbtype:sept /libpath:"../yazxx/debug" /libpath:"../../../yaz/lib" /libpath:"../../../yaz-ursula/win/debug" /libpath:"../../../yaz-ursula/win" /libpath:"../yazxx/yazxx___win32_Debug_ursula"
# Begin Special Build Tool
OutDir=.\yazclient___Win32_Debug_URSULA
ProjDir=.