Renamed history.c -> command_history.c
Included in command.h
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
#include "contact.h"
|
||||
#include "contact_list.h"
|
||||
#include "chat_log.h"
|
||||
#include "history.h"
|
||||
#include "jid.h"
|
||||
#include "log.h"
|
||||
#include "parser.h"
|
||||
|
||||
@@ -45,4 +45,9 @@ GSList * cmd_get_basic_help(void);
|
||||
GSList * cmd_get_settings_help(void);
|
||||
GSList * cmd_get_presence_help(void);
|
||||
|
||||
void history_init(void);
|
||||
void history_append(char *inp);
|
||||
char *history_previous(char *inp, int *size);
|
||||
char *history_next(char *inp, int *size);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* history.c
|
||||
* command_history.c
|
||||
*
|
||||
* Copyright (C) 2012, 2013 James Booth <boothj5@gmail.com>
|
||||
*
|
||||
@@ -1,31 +0,0 @@
|
||||
/*
|
||||
* history.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 HISTORY_H
|
||||
#define HISTORY_H
|
||||
|
||||
void history_init(void);
|
||||
void history_append(char *inp);
|
||||
char *history_previous(char *inp, int *size);
|
||||
char *history_next(char *inp, int *size);
|
||||
|
||||
#endif
|
||||
@@ -37,7 +37,6 @@
|
||||
#include "contact.h"
|
||||
#include "contact_list.h"
|
||||
#include "files.h"
|
||||
#include "history.h"
|
||||
#include "log.h"
|
||||
#include "preferences.h"
|
||||
#include "profanity.h"
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "common.h"
|
||||
#include "command.h"
|
||||
#include "contact_list.h"
|
||||
#include "history.h"
|
||||
#include "log.h"
|
||||
#include "preferences.h"
|
||||
#include "profanity.h"
|
||||
|
||||
Reference in New Issue
Block a user