Go to the documentation of this file.00001 #ifndef H_SM_UTILS
00002 #define H_SM_UTILS
00003
00004 #include <stdio.h>
00005
00008 FILE * open_file_for_reading(const char*filename);
00009
00013 FILE * open_file_for_writing(const char*filename);
00014
00015
00016
00017
00018 #define DIR_SEPARATOR '/'
00019
00020
00021 void my_basename(const char *file, char*dest);
00022
00023 void my_basename_no_suffix(const char *file, char*dest);
00024
00025 void my_no_suffix(const char *file, char*dest);
00026
00027 char * my_strdup(const char *s);
00028
00029 #endif