summary refs log tree commit diff stats
path: root/svc/svc.go
Commit message (Expand)AuthorAgeFilesLines
* changed some log formattingBen Morrison2019-06-101-2/+2
* Start() broken into multiple functionsBen Morrison2019-06-101-19/+30
* setting version via build flagsBen Morrison2019-06-091-1/+1
* start time added to help differentiate run sessions in log fileBen Morrison2019-06-091-1/+2
* sqlite functionality addedBen Morrison2019-06-081-2/+1
* cleaned up error handlingBen Morrison2019-06-081-3/+1
* updated tests to work with new project structureBen Morrison2019-06-061-0/+1
* moved bulk of code to its own package to clean up source treeBen Morrison2019-06-051-0/+120
1 ^
b11b8824 ^

cc4c7f3e ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
   
            




















                                                                       

                 
 
                        
                                            

                             

      
/* 
 * history.h
 *
 * Copyright (C) 2012 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(const char * const inp);
char *history_previous(void);
char *history_next(void);

#endif