aboutsummaryrefslogtreecommitdiff
path: root/lib/libeclat.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-12-05 19:04:35 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-12-05 19:04:35 +0200
commitb66c616988486510b3d75051eaf709db8efc8e79 (patch)
treeb4440a077b71432106e57d85487e4b5e4c7aaf7c /lib/libeclat.h
parent3f1f18e26d8ed66b227d5de6207842021118fd3b (diff)
downloadeclat-b66c616988486510b3d75051eaf709db8efc8e79.tar.gz
eclat-b66c616988486510b3d75051eaf709db8efc8e79.tar.bz2
Implement release-address.
* TODO: Update. * doc/Makefile.am: Add new files. * doc/eclat-allocate-address.1: New file. * doc/eclat-release-address.1: New file. * doc/eclat-associate-address.1: Update. * doc/eclat-describe-addresses.1: Update. * doc/eclat-disassociate-address.1: Update. * doc/eclat.1: Update. * etc/Makefile.am: Add new files. * etc/release-address.fln: New file. * lib/Makefile.am: Add new files. * lib/confirm.c: New file. * lib/getyn.c: New file. * lib/libeclat.h (eclat_getyn,eclat_vgetyn) (eclat_confirm): New protos. (eclat_confirm_mode): New extern. * src/Makefile.am: Add new files. * src/cmdline.opt: New options -Y (--yes) and -N (--no). * src/eclat.c: Register the release-address command. * src/eclat.h (EX_CANCELLED): New constant. (eclat_release_address): New proto. * src/reladdr-cl.opt: New file. * src/reladdr.c: New file.
Diffstat (limited to 'lib/libeclat.h')
-rw-r--r--lib/libeclat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libeclat.h b/lib/libeclat.h
index ee94345..35d2538 100644
--- a/lib/libeclat.h
+++ b/lib/libeclat.h
@@ -107,6 +107,12 @@ void eclat_partial_tree_end_handler(void *data, const XML_Char *name);
void eclat_trimnl(char *s);
char *eclat_expand_kw(const char *input, const char **ukw);
char *eclat_getans(char *prompt, char *dfl, int pass);
+int eclat_getyn(int dfl, const char *prompt, ...);
+int eclat_vgetyn(int dfl, const char *prompt, va_list ap);
+
+extern int eclat_confirm_mode;
+int eclat_confirm(const char *prompt, ...);
+
#define ECLAT_MAP_OPEN 0x01

Return to:

Send suggestions and report system problems to the System administrator.