Renamed parser.c -> command_parser.c

Included in command.h
This commit is contained in:
James Booth
2013-01-28 01:43:43 +00:00
parent c72d7ad6a6
commit 1d5046bc97
7 changed files with 94 additions and 123 deletions

View File

@@ -36,7 +36,6 @@
#include "chat_log.h"
#include "jid.h"
#include "log.h"
#include "parser.h"
#include "preferences.h"
#include "autocomplete.h"
#include "profanity.h"

View File

@@ -50,4 +50,7 @@ void cmd_history_append(char *inp);
char *cmd_history_previous(char *inp, int *size);
char *cmd_history_next(char *inp, int *size);
gchar** parse_args(const char * const inp, int min, int max);
gchar** parse_args_with_freetext(const char * const inp, int min, int max);
#endif

View File

@@ -1,5 +1,5 @@
/*
* parser.c
* command_parser.c
*
* Copyright (C) 2012, 2013 James Booth <boothj5@gmail.com>
*

View File

@@ -1,31 +0,0 @@
/*
* parser.h
*
* Copyright (C) 2012, 2013 James Booth <boothj5@gmail.com>
*
* This file is part of Profanity.
*
* Profanity is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Profanity is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Profanity. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef PARSER_H
#define PARSER_H
#include <glib.h>
gchar** parse_args(const char * const inp, int min, int max);
gchar** parse_args_with_freetext(const char * const inp, int min, int max);
#endif