summaryrefslogtreecommitdiff
path: root/src/include-local
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-31 12:30:13 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-31 12:30:13 +0000
commit151f30888748cc37b82c1c21c4428c53279bf8eb (patch)
tree74609951ea0c8a3062a4093323089b64947591b7 /src/include-local
parentea96addef47063dc6858c63f00e8e9731a31a990 (diff)
downloadexecline-151f30888748cc37b82c1c21c4428c53279bf8eb.tar.xz
Add option -u to import and importas
Diffstat (limited to 'src/include-local')
-rw-r--r--src/include-local/exlsn.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include-local/exlsn.h b/src/include-local/exlsn.h
index 3665bca..2bdcf58 100644
--- a/src/include-local/exlsn.h
+++ b/src/include-local/exlsn.h
@@ -5,16 +5,18 @@
#include <skalibs/gccattributes.h>
#include <skalibs/stralloc.h>
+#include <skalibs/genalloc.h>
typedef struct exlsn_s exlsn_t, *exlsn_t_ref ;
struct exlsn_s
{
stralloc vars ;
stralloc values ;
- stralloc data ; /* array of elsubst */
+ genalloc data ; /* array of elsubst */
+ stralloc modifs ;
} ;
-#define EXLSN_ZERO { .vars = STRALLOC_ZERO, .values = STRALLOC_ZERO, .data = STRALLOC_ZERO }
+#define EXLSN_ZERO { .vars = STRALLOC_ZERO, .values = STRALLOC_ZERO, .data = GENALLOC_ZERO, .modifs = STRALLOC_ZERO }
extern void exlsn_free (exlsn_t *) ;
@@ -29,8 +31,8 @@ extern exlsnfunc_t exlsn_exlp ;
extern exlsnfunc_t exlsn_multidefine ;
extern int exlp (unsigned int, char const *const *, exlsn_t *) ;
-extern void el_substandrun (int, char const *const *, char const *const *, exlsn_t *) gccattr_noreturn ;
-extern void el_substandrun_str (stralloc *, unsigned int, char const *const *, exlsn_t *) gccattr_noreturn ;
+extern void el_substandrun (int, char const *const *, char const *const *, exlsn_t const *) gccattr_noreturn ;
+extern void el_substandrun_str (stralloc *, unsigned int, char const *const *, exlsn_t const *) gccattr_noreturn ;
extern void exlsn_main (int, char const **, char const *const *, exlsnfunc_t *, char const *) gccattr_noreturn ;
#endif