blob: 262db6b7070395e1d907070a9c4270676d84a11e (
plain)
1 /**
2 * Copyright (C) 2015 Aaron Ball <nullspoon@iohq.net>
3 *
4 * Noteless is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * Noteless is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with noteless. If not, see <http://www.gnu.org/licenses/>.
16 */
17 #include <stdio.h>
18 #include <stdlib.h>
19 #include <string.h>
20 #include <time.h>
21
22 #ifndef noteless_common
23 #define noteless_common
24
25 void get_user_editor(char*);
26
27 int itoc(int, char*);
28
29 void get_current_date_time(char*);
30
31 int get_extension(char*, char*);
32
33 int file_edit(char*, char*);
34
35 int basename(char*, char*);
36
37 int str_contains(char*, char*, int);
38
39 int str_contains_case_sensitive(char*, char*);
40
41 int str_contains_case_insensitive(char*, char*);
42
43 int strip_extension(char*);
44
45 #endif
|