File: files.h

package info (click to toggle)
openssn 1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 7,340 kB
  • sloc: cpp: 10,973; makefile: 80
file content (24 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef FILES_HEADER_FILE__
#define FILES_HEADER_FILE__

#include <SDL.h>

#ifndef DATADIR
#define DATADIR "."
#endif
#ifndef OPTDIR
#define OPTDIR "/opt/openssn"
#endif

// Find the full path of a file based on its name.
// The return value should be freed UNLESS the return
// value is equal to the filename passed in.
char *Find_Data_File(char *filename);


// Try to find the image file in various locations
SDL_Surface *Load_Image(char *filename);


#endif