aboutsummaryrefslogtreecommitdiff
path: root/etc/create-image.fln
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-04-05 18:06:37 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-04-05 18:06:37 +0300
commitd19bab14d9f3e8093ea8288c08f4df5249f2801c (patch)
tree64124e0bfb195664ba5ef3562c80437091d6b0d5 /etc/create-image.fln
parent9205135a977cacebb79df1309ef5eaab57127f06 (diff)
downloadeclat-d19bab14d9f3e8093ea8288c08f4df5249f2801c.tar.gz
eclat-d19bab14d9f3e8093ea8288c08f4df5249f2801c.tar.bz2
Implement create-image and deregister-image.
* TODO: Update. * etc/create-image.fln: New file. * etc/deregister-image.fln: New file. * etc/Makefile.am (FLNFILES): Add new files. * lib/envmap.c: New file. * lib/Makefile.am (libeclat_a_SOURCES): Add new files. * lib/libeclat.h (eclat_encode_devmap): New proto. * src/creimg-cl.opt: New file. * src/creimg.c: New file. * src/drgimg.c: New file. * src/Makefile.am: Add new files. * src/dscrimgs-cl.opt: Change short option to -u for consistency with other commands. * src/eclat.c: New commands create-image and deregister-image. * src/eclat.h (eclat_create_image) (eclat_deregister_image): New prototypes. * src/runinsts.c (encode_devmap): Move to the library.
Diffstat (limited to 'etc/create-image.fln')
-rw-r--r--etc/create-image.fln19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/create-image.fln b/etc/create-image.fln
new file mode 100644
index 0000000..938926a
--- /dev/null
+++ b/etc/create-image.fln
@@ -0,0 +1,19 @@
+/* This file is part of Eclat.
+ Copyright (C) 2013 Sergey Poznyakoff.
+
+ Eclat is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+
+ Eclat is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Eclat. If not, see <http://www.gnu.org/licenses/>. */
+
+if (.CreateImageResponse) {
+ print(.CreateImageResponse.imageId,"\n");
+}

Return to:

Send suggestions and report system problems to the System administrator.