Skip to content
Snippets Groups Projects
prot-a-parse.h 679 B
extern long
prot_a_parse_long(Connection *client);

extern void
prot_a_parse_priv_bits(Connection *client,
		       Priv_bits  *result);

extern void
prot_a_parse_conf_type(Connection *client,
		       Conf_type      *result);


extern void
prot_a_parse_string(Connection *client,
	     String	    *result,
	     int	     maxlen);

extern void
prot_a_parse_misc_info(Connection *client,
		Misc_info      *result);

/*
 * Return next token from the input stream. Note that the String returned
 * by this call points into data that might be freed by the next call to
 * get_token or any function which reads from the stream.
 */
extern String
prot_a_get_token(Connection *client);