|
libexplain
1.4.D001
|
#include <libexplain/ac/string.h>#include <libexplain/ac/sys/stat.h>#include <libexplain/buffer/caption_name_type.h>#include <libexplain/buffer/file_type.h>#include <libexplain/buffer/gettext.h>#include <libexplain/option.h>Go to the source code of this file.
Functions | |
| static void | explain_buffer_current_directory (explain_string_buffer_t *sb) |
| void | explain_buffer_caption_name_type (explain_string_buffer_t *sb, const char *caption, const char *name, int st_mode) |
| void | explain_buffer_caption_name_type_st (explain_string_buffer_t *sb, const char *caption, const char *name, const struct stat *st) |
| void explain_buffer_caption_name_type | ( | explain_string_buffer_t * | sb, |
| const char * | caption, | ||
| const char * | name, | ||
| int | st_mode | ||
| ) |
The explain_buffer_caption_name_type function may be used to print an qualified file name, including the type.
| sb | The string buffer to print into. |
| caption | The caption "pathname", "oldpath", "newpath", etc, or NULL |
| name | The name of the file or directory, or NULL |
| st_mode | The file type (S_IFREG, etc) |
Definition at line 45 of file caption_name_type.c.
| void explain_buffer_caption_name_type_st | ( | explain_string_buffer_t * | sb, |
| const char * | caption, | ||
| const char * | name, | ||
| const struct stat * | st | ||
| ) |
The explain_buffer_caption_name_type_st function may be used to print an qualified file name, including the type.
| sb | The string buffer to print into. |
| caption | The caption "pathname", "oldpath", "newpath", etc, or NULL |
| name | The name of the file or directory, or NULL |
| st | The file meta data, including the mode. |
Definition at line 73 of file caption_name_type.c.
| static void explain_buffer_current_directory | ( | explain_string_buffer_t * | sb | ) | [static] |
Definition at line 30 of file caption_name_type.c.
1.7.6.1