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

Last change on this file since 1244 was 1244, checked in by Jean-Yves Lamoureux, 14 years ago
  • Initial revision
  • Property svn:keywords set to Id
File size: 957 bytes
Line 
1/*
2 *  cacamoo
3 *  Copyright (c) 2006 Jean-Yves Lamoureux <jylam@lnxscene.org>
4 *                All Rights Reserved
5 *
6 *  $Id: cacamoo.h 1244 2006-10-26 20:59:01Z 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>
20#include <cucul.h>
21
22
23static void version(void);
24char *construct_balloon(char *buffer, unsigned int termwidth);
25char *wrap_string(char *buffer, unsigned int width, unsigned int *max_width, int no_wrap);
26char *make_caca_from_file(unsigned int *size);
27char *replace(char *string, char *oldpiece, const char *newpiece);
28char *remove_slashes(char *str);
29char *remove_comments(char *str);
30
31#if defined(HAVE_GETOPT_H)
32static void usage(void);
33#endif
34
35#endif /* _CACASAY_H_ */
Note: See TracBrowser for help on using the repository browser.