source: cacamoo/trunk/src/cacamoo.h @ 1453

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