Last change
on this file since 1252 was
1246,
checked in by Jean-Yves Lamoureux, 16 years ago
|
- Added --list-files option, unicode option (not working yet)
|
-
Property svn:keywords set to
Id
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1244] | 1 | /* |
---|
| 2 | * cacamoo |
---|
| 3 | * Copyright (c) 2006 Jean-Yves Lamoureux <jylam@lnxscene.org> |
---|
| 4 | * All Rights Reserved |
---|
| 5 | * |
---|
| 6 | * $Id: cacamoo.h 1246 2006-10-27 19:30:36Z jylam $ |
---|
| 7 | * |
---|
| 8 | * This program is free software; you can redistribute it and/or |
---|
| 9 | * modify it under the terms of the Do What The Fuck You Want To |
---|
| 10 | * Public License, Version 2, as published by Sam Hocevar. See |
---|
| 11 | * http://sam.zoy.org/wtfpl/COPYING for more details. |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | #ifndef _CACASAY_H_ |
---|
| 15 | #define _CACASAY_H_ |
---|
| 16 | |
---|
| 17 | #include <stdio.h> |
---|
| 18 | #include <string.h> |
---|
| 19 | #include <stdlib.h> |
---|
[1246] | 20 | /* Portability ? */ |
---|
| 21 | #include <sys/types.h> |
---|
| 22 | #include <dirent.h> |
---|
| 23 | |
---|
| 24 | |
---|
[1244] | 25 | #include <cucul.h> |
---|
| 26 | |
---|
| 27 | static void version(void); |
---|
| 28 | char *construct_balloon(char *buffer, unsigned int termwidth); |
---|
| 29 | char *wrap_string(char *buffer, unsigned int width, unsigned int *max_width, int no_wrap); |
---|
| 30 | char *make_caca_from_file(unsigned int *size); |
---|
| 31 | char *replace(char *string, char *oldpiece, const char *newpiece); |
---|
| 32 | char *remove_slashes(char *str); |
---|
| 33 | char *remove_comments(char *str); |
---|
[1246] | 34 | void list_files(const char *directory); |
---|
[1244] | 35 | |
---|
| 36 | #if defined(HAVE_GETOPT_H) |
---|
| 37 | static void usage(void); |
---|
| 38 | #endif |
---|
| 39 | |
---|
| 40 | #endif /* _CACASAY_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.