mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 22:46:21 +00:00
Renamed parser.c -> command_parser.c
Included in command.h
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* parser.c
|
||||
* command_parser.c
|
||||
*
|
||||
* Copyright (C) 2012, 2013 James Booth <boothj5@gmail.com>
|
||||
*
|
||||
31
src/parser.h
31
src/parser.h
@@ -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
|
||||
Reference in New Issue
Block a user