Address first round of review for generic blocks

This commit is contained in:
Brian Ashworth 2018-05-30 22:23:11 -04:00
parent 51bb9d8573
commit 8bfa2def88
10 changed files with 34 additions and 32 deletions

View file

@ -4,7 +4,7 @@
#include <stdio.h>
char *read_line(FILE *file);
char *peek_line(FILE *file, int offset);
char *peek_line(FILE *file, int offset, long *position);
char *read_line_buffer(FILE *file, char *string, size_t string_len);
#endif

View file

@ -60,8 +60,8 @@ struct cmd_results *config_command(char *command);
/**
* Parse and handle a sub command
*/
struct cmd_results *subcommand(char **argv, int argc,
struct cmd_handler *handlers, int handlers_size);
struct cmd_results *config_subcommand(char **argv, int argc,
struct cmd_handler *handlers, size_t handlers_size);
/*
* Parses a command policy rule.
*/