summaryrefslogtreecommitdiffstats
path: root/src/opk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opk.h')
-rw-r--r--src/opk.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/opk.h b/src/opk.h
index 8148dc8..b8a1c4d 100644
--- a/src/opk.h
+++ b/src/opk.h
@@ -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.