adding new dlhist.c
This commit is contained in:
parent
1350330dd2
commit
40e6afeffa
2 changed files with 487 additions and 0 deletions
33
dlhist.h
Normal file
33
dlhist.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* dlhist.h
|
||||
*
|
||||
* Copyright (C) 2011 Henrik Hautakoski <henrik@fiktivkod.org>
|
||||
*
|
||||
* This program 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 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program 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 this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*/
|
||||
#ifndef DLHIST_H
|
||||
#define DLHIST_H
|
||||
|
||||
int dlhist_open(void);
|
||||
|
||||
int dlhist_lookup(const char *title, const char *dest);
|
||||
|
||||
void dlhist_mark(const char *title, const char *dest);
|
||||
|
||||
void dlhist_purge(unsigned int interval);
|
||||
|
||||
void dlhist_close(void);
|
||||
|
||||
#endif /* DLHIST_H */
|
||||
Reference in a new issue