--- (IN PROGRESS)
+Change prototype of odr_perror: add const to message string.
+
New function yaz_log_reopen which reopens log file (for log rotate, etc.)
* Blocking parameter for COMSTACK cs_create is now a bit mask rather
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: odr.h,v 1.12 2003-05-24 19:20:14 adam Exp $
+ * $Id: odr.h,v 1.13 2003-10-16 10:37:06 adam Exp $
*/
#ifndef ODR_H
YAZ_EXPORT void odr_seterror(ODR o, int errorno, int errorid);
YAZ_EXPORT void odr_setelement(ODR o, const char *addinfo);
YAZ_EXPORT char *odr_getelement(ODR o);
-YAZ_EXPORT void odr_perror(ODR o, char *message);
+YAZ_EXPORT void odr_perror(ODR o, const char *message);
YAZ_EXPORT void odr_setprint(ODR o, FILE *file);
YAZ_EXPORT ODR odr_createmem(int direction);
YAZ_EXPORT void odr_reset(ODR o);
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
- * $Id: odr.c,v 1.45 2003-06-19 21:09:25 adam Exp $
+ * $Id: odr.c,v 1.46 2003-10-16 10:37:06 adam Exp $
*
*/
#if HAVE_CONFIG_H
return odr_errlist[n];
}
-void odr_perror(ODR o, char *message)
+void odr_perror(ODR o, const char *message)
{
const char *e = odr_getelement(o);
int err, x;