Changeset d8d63a2 for lib/misc.h


Ignore:
Timestamp:
2006-12-05T20:40:17Z (17 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
7740c4c
Parents:
f4aa393 (diff), 55078f5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

[merge] wilmer

File:
1 moved

Legend:

Unmodified
Added
Removed
  • lib/misc.h

    rf4aa393 rd8d63a2  
    2424*/
    2525
    26 #ifndef _UTIL_H
    27 #define _UTIL_H
     26#ifndef _MISC_H
     27#define _MISC_H
     28
     29#include <gmodule.h>
     30#include <time.h>
    2831
    2932G_MODULE_EXPORT void strip_linefeed( gchar *text );
    3033G_MODULE_EXPORT char *add_cr( char *text );
    3134G_MODULE_EXPORT char *strip_newlines(char *source);
    32 G_MODULE_EXPORT char *tobase64( const char *text );
    3335G_MODULE_EXPORT char *normalize( const char *s );
    3436G_MODULE_EXPORT void info_string_append( GString *str, char *newline, char *name, char *value );
     
    4648
    4749G_MODULE_EXPORT signed int do_iconv( char *from_cs, char *to_cs, char *src, char *dst, size_t size, size_t maxbuf );
    48 char *set_eval_charset( irc_t *irc, set_t *set, char *value );
     50
     51G_MODULE_EXPORT void random_bytes( unsigned char *buf, int count );
     52
     53G_MODULE_EXPORT int is_bool( char *value );
     54G_MODULE_EXPORT int bool2int( char *value );
    4955
    5056#endif
Note: See TracChangeset for help on using the changeset viewer.