File: zpath.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 (31 lines) | stat: -rw-r--r-- 787 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
28
29
30
31
/*
    zpath.h - path functions
    Copyright (C) 2011 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 __ZPATH_H
#define __ZPATH_H

#include <libziaint.h>

#ifdef Z_MSC_MINGW
char *z_wokna(char *file);
#else
static inline char *z_wokna(char *file) { return file; }
#endif
char *z_unix(char *file);

char *z_dirname(char *filename);
const char *z_filename(const char *filename);
const char *z_extension(const char *filename);
char *z_optimize_path(char *src); /* src must be allocated by glib, return can differ */
char *z_binary_file_name(void);
char *z_libzia_file_name(void **codebase);


#endif