*
* Created by: Marc Horowitz <marc@athena.mit.edu>
*
- * $Id: notice.h,v 1.5 1999/01/22 23:20:29 ghudson Exp $
+ * $Id: notice.h 2133 2008-01-21 03:11:44Z kcr $
*
* Copyright (c) 1989 by the Massachusetts Institute of Technology.
* For copying and distribution information, see the file
#ifndef notice_MODULE
#define notice_MODULE
+#include <zephyr/zephyr.h>
#include "new_string.h"
/*
* Effects: Returns the # of nulls in data[0]..data[length-1]
*/
-extern int count_nulls();
+extern int count_nulls(char *, int);
/*
* string get_next_field(char **data_p, int *length_p)
* remain. (this is the case when *length_p == 0)
*/
-extern string get_next_field();
+extern string get_next_field(char **, int *);
/*
* string get_field(char *data, int length, int num)
* "" is returned.
*/
-extern string get_field();
+extern string get_field(char *, int, int);
/*
* string convert_nulls_to_newlines(data, length)
* be freed.
*/
-extern string convert_nulls_to_newlines();
+extern string convert_nulls_to_newlines(char *, int);
-extern char *decode_notice();
+extern char *decode_notice(ZNotice_t *, char *);
#endif