10 #ifndef ZPMOD_ZSH_IMPORTS_H
11 #define ZPMOD_ZSH_IMPORTS_H
13 #if defined(__has_include)
14 #if __has_include("builtin.epro")
15 #include "builtin.epro"
17 #if __has_include("module.epro")
18 #include "module.epro"
20 #if __has_include("params.epro")
21 #include "params.epro"
23 #if __has_include("mem.epro")
26 #if __has_include("string.epro")
27 #include "string.epro"
29 #if __has_include("hashtable.epro")
30 #include "hashtable.epro"
32 #if __has_include("options.epro")
33 #include "options.epro"
35 #if __has_include("parse.epro")
38 #if __has_include("input.epro")
41 #if __has_include("jobs.epro")
44 #if __has_include("prompt.epro")
45 #include "prompt.epro"
47 #if __has_include("loop.epro")
50 #if __has_include("init.epro")
53 #if __has_include("utils.epro")
56 #if __has_include("signals.epro")
57 #include "signals.epro"
59 #if __has_include("signames.epro")
60 #include "signames.epro"
71 #if !defined(__has_include) || !__has_include("mem.epro")
73 void zfree(
void *ptr,
size_t size);
78 #if !defined(__has_include) || !__has_include("string.epro")
83 #if !defined(__has_include) || !__has_include("utils.epro")
84 char *
metafy(
char *s,
int len,
int how);
88 #if !defined(__has_include) || !__has_include("params.epro")
97 #if !defined(__has_include) || !__has_include("hashtable.epro")
101 #if !defined(__has_include) || !__has_include("options.epro")
105 #if !defined(__has_include) || !__has_include("builtin.epro")
106 void zwarnnam(
const char *cmd,
const char *fmt, ...);
109 #if !defined(__has_include) || !__has_include("module.epro")
int setfeatureenables(Module m, Features features, int **enables)
char * unmetafy(char *s, int *len)
void * zalloc(size_t size)
int handlefeatures(Module m, Features features, int **enables)
HashNode gethashnode2(HashTable ht, const char *name)
void unsetparam(const char *name)
char * dupstring(const char *s)
char * metafy(char *s, int len, int how)
void setaparam(const char *name, char **value)
void zfree(void *ptr, size_t size)
char ** getaparam(const char *name)
void setsparam(const char *name, char *value)
char * ztrdup(const char *s)
void * zrealloc(void *ptr, size_t size)
char ** featuresarray(Module m, Features features)
int optlookup(const char *name)
void zwarnnam(const char *cmd, const char *fmt,...)
char * getsparam(const char *name)
struct hashtable * HashTable
struct features * Features
struct hashnode * HashNode