diff options
Diffstat (limited to 'src/opk.h')
-rw-r--r-- | src/opk.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -104,6 +104,20 @@ int opkg_opk_opk_data_dir(struct opkg_opk_opk *opk, const char *dir); /* + * Reads types and device numbers of device special files from a list file for + * use when writing. + * Parameters: + * - opk: Package structure. + * - file_name: Device special files list file. + * Returns: + * - OPKG_OPK_OK if the list was successfully read. + * - OPKG_OPK_ERROR if list file is unreadable or malformed or on memory + * exhaustion. + */ +int +opkg_opk_opk_specials_read(struct opkg_opk_opk *opk, const char *file_name); + +/* * Performs the configured read actions. * Parameters: * - file_name: Package's file name. |