Functions | |
| char * | bg_fix_path (char *path) |
| Append a trailing slash to a path name. | |
| char * | bg_search_file_read (const char *directory, const char *file) |
| Search for a file for reading. | |
| char * | bg_search_file_write (const char *directory, const char *file) |
| Search for a file for writing. | |
| int | bg_search_file_exec (const char *file, char **path) |
| Search for an executable. | |
| char * | bg_find_url_launcher () |
| Find an URL launcher. | |
| void | bg_display_html_help (const char *path) |
| Display html help. | |
| char * | bg_create_unique_filename (char *format) |
| Create a unique filename. | |
| char* bg_fix_path | ( | char * | path | ) |
Append a trailing slash to a path name.
| path | Old path (will eventually be freed). |
| char* bg_search_file_read | ( | const char * | directory, | |
| const char * | file | |||
| ) |
Search for a file for reading.
| directory | Directory | |
| file | Filename |
| char* bg_search_file_write | ( | const char * | directory, | |
| const char * | file | |||
| ) |
Search for a file for writing.
| directory | Directory | |
| file | Filename |
| int bg_search_file_exec | ( | const char * | file, | |
| char ** | path | |||
| ) |
Search for an executable.
| file | Name of the file (without dirtectory) | |
| path | If non NULL, the complete path to the exectuable will be returned |
| char* bg_find_url_launcher | ( | ) |
Find an URL launcher.
| void bg_display_html_help | ( | const char * | path | ) |
Display html help.
| path | Path |
| char* bg_create_unique_filename | ( | char * | format | ) |
Create a unique filename.
| format | Printf like format. Must contain "%08x" as the only placeholder. |
1.5.6