File: utils.h

package info (click to toggle)
xkbsel 0.13-13
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,568 kB
  • ctags: 874
  • sloc: sh: 10,801; ansic: 5,963; cpp: 435; makefile: 311; lex: 284; sed: 93
file content (23 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* $Id: utils.h,v 1.2 1999/07/22 09:48:05 stano Exp $

   Utilities

   (C) 1999 Stanislav Meduna <stano@eunet.sk>
*/

#ifndef _UTILS_H_
#define _UTILS_H_

#include <config.h>

#include <xkbsel.h>

/* Create all missing path elements and try to make a file there.
   Report denied access. If the file exists, it will be deleted.
*/
int make_path_for(const char *fn, int *denied);

/* Create a directory, reporting possible problems */
int create_dir(const char *name);

#endif /* _UTILS_H_ */