* Copyright (c) 2000-2001, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-marc-sample.cpp,v 1.4 2003-09-23 16:26:16 mike Exp $
+ * $Id: yaz-marc-sample.cpp,v 1.5 2003-10-16 10:26:58 adam Exp $
*/
#include <yaz++/z-server.h>
-static char *marc_records[] = {
+static const char *marc_records[] = {
"\x30\x30\x33\x36\x36\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x31\x36"
"\x39\x38\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30"
"\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33"
* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-my-client.cpp,v 1.13 2003-10-01 13:13:51 adam Exp $
+ * $Id: yaz-my-client.cpp,v 1.14 2003-10-16 10:26:58 adam Exp $
*/
#include <yaz/log.h>
cmdArgs[0] = '\0';
cmdStr[0] = '\0';
static struct {
- char *cmd;
+ const char *cmd;
int (MyClient::*fun)(char *arg);
- char *ad;
+ const char *ad;
} cmd[] = {
{"open", &MyClient::cmd_open, "<host>[':'<port>][/<database>]"},
{"connect", &MyClient::cmd_connect, "<host>[':'<port>][/<database>]"},