aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-11-29 23:47:10 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-11-29 23:47:10 +0000
commitaf977c6e219aa2e3f45e3f6e73c9cedcf7bcc350 (patch)
tree4a6c23fb08ab9c8fa2e3ad68c9425f65a3fe6a21 /include/libbb.h
parent929e65144578d72d3e5f72a1c0bc20edb42f1c3a (diff)
downloadbusybox-w32-af977c6e219aa2e3f45e3f6e73c9cedcf7bcc350.tar.gz
busybox-w32-af977c6e219aa2e3f45e3f6e73c9cedcf7bcc350.tar.bz2
busybox-w32-af977c6e219aa2e3f45e3f6e73c9cedcf7bcc350.zip
Fix losetup so that it A) actually works again, B) has much better error
messages, C) can show the current association (if any) when called with only one argument. Update the documentation a lot too. Remind me to add a test suite for this thing. I think I've figured out how to handle root-only testsuites... git-svn-id: svn://busybox.net/trunk/busybox@12582 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index d1c6be670..96dc46a09 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -232,6 +232,7 @@ extern char *bb_askpass(int timeout, const char * prompt);
232 232
233extern int device_open(const char *device, int mode); 233extern int device_open(const char *device, int mode);
234 234
235extern char *query_loop(const char *device);
235extern int del_loop(const char *device); 236extern int del_loop(const char *device);
236extern int set_loop(char **device, const char *file, int offset); 237extern int set_loop(char **device, const char *file, int offset);
237 238
@@ -466,7 +467,7 @@ typedef struct {
466} procps_status_t; 467} procps_status_t;
467 468
468extern procps_status_t * procps_scan(int save_user_arg0); 469extern procps_status_t * procps_scan(int save_user_arg0);
469extern int compare_string_array(const char * const string_array[], const char *key); 470extern unsigned short compare_string_array(const char *string_array[], const char *key);
470 471
471extern int my_query_module(const char *name, int which, void **buf, size_t *bufsize, size_t *ret); 472extern int my_query_module(const char *name, int which, void **buf, size_t *bufsize, size_t *ret);
472 473