File: eprintf.h

package info (click to toggle)
libzia 4.36-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,320 kB
  • sloc: ansic: 24,172; sh: 4,408; makefile: 211
file content (27 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
    libzia
    Copyright (C) 2011-2012  Ladislav Vaiz <ok1zia@nagano.cz>

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    version 2 as published by the Free Software Foundation.

*/

#ifndef __EPRINTF_H
#define __EPRINTF_H

#include <libziaint.h>
#include <glib.h>

int zg_string_veprintfa(const char *flags, GString *gs, char *fmt, va_list l);
int zg_string_eprintfa(const char *flags, GString *gs, char *fmt, ...);
int zg_string_eprintf(const char *flags, GString *gs, char *fmt, ...);

int z_tokens(const char *str);
char *z_tokenize(char *str, int *tokenpos);

char *z_base64dec(char *bin, int maxlen, int *plen, char *src);
char *z_hexadec(char *bin, int maxlen, int *plen, char *src);

#endif /* __EPRINTF_H */