summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2018-03-12 11:01:27 +0100
committerWerner Koch <wk@gnupg.org>2018-03-12 11:01:27 +0100
commit0e503cae75cb1a6aa257228a65941b7630ff35d6 (patch)
tree92b7ad428f34844e9c036e22e845c7d027112df5 /src
parent596c0d701edeb45e0069bb74b9343e3d5b708ef0 (diff)
downloadlibgpg-error-0e503cae75cb1a6aa257228a65941b7630ff35d6.tar.gz
core: Do not export the process API
-- We may need to change the API and thus we better wait before publishing this new interface. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src')
-rw-r--r--src/gpg-error.def.in17
-rw-r--r--src/gpg-error.h.in5
-rw-r--r--src/gpg-error.vers17
-rw-r--r--src/sysutils.c2
-rw-r--r--src/visibility.c3
5 files changed, 25 insertions, 19 deletions
diff --git a/src/gpg-error.def.in b/src/gpg-error.def.in
index 3f26a89..eea6e4a 100644
--- a/src/gpg-error.def.in
+++ b/src/gpg-error.def.in
@@ -197,14 +197,15 @@ EXPORTS
gpgrt_chdir @150
gpgrt_getcwd @151
- gpgrt_make_pipe @152
- gpgrt_spawn_process @153
- gpgrt_spawn_process_fd @154
- gpgrt_spawn_process_detached @155
- gpgrt_wait_process @156
- gpgrt_wait_processes @157
- gpgrt_kill_process @158
- gpgrt_release_process @159
+;; API not yet finished for:
+;; gpgrt_make_pipe @152
+;; gpgrt_spawn_process @153
+;; gpgrt_spawn_process_fd @154
+;; gpgrt_spawn_process_detached @155
+;; gpgrt_wait_process @156
+;; gpgrt_wait_processes @157
+;; gpgrt_kill_process @158
+;; gpgrt_release_process @159
;; end of file with public symbols for Windows.
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in
index 46e8f53..dc6f637 100644
--- a/src/gpg-error.h.in
+++ b/src/gpg-error.h.in
@@ -1027,8 +1027,9 @@ void _gpgrt_log_assert (const char *expr, const char *file, int line,
/*
- * Spawn functions
+ * Spawn functions (Not yet available)
*/
+#if 0
#define GPGRT_SPAWN_NONBLOCK 16 /* Set the streams to non-blocking. */
#define GPGRT_SPAWN_RUN_ASFW 64 /* Use AllowSetForegroundWindow on W32. */
@@ -1075,6 +1076,8 @@ void gpgrt_kill_process (pid_t pid);
/* Release process resources identified by PID. */
void gpgrt_release_process (pid_t pid);
+#endif /*0*/
+
/*
* Time functions
*/
diff --git a/src/gpg-error.vers b/src/gpg-error.vers
index a5f91aa..1105e80 100644
--- a/src/gpg-error.vers
+++ b/src/gpg-error.vers
@@ -169,14 +169,15 @@ GPG_ERROR_1.0 {
gpgrt_chdir;
gpgrt_getcwd;
- gpgrt_make_pipe;
- gpgrt_spawn_process;
- gpgrt_spawn_process_fd;
- gpgrt_spawn_process_detached;
- gpgrt_wait_process;
- gpgrt_wait_processes;
- gpgrt_kill_process;
- gpgrt_release_process;
+## API not yet finished for:
+# gpgrt_make_pipe;
+# gpgrt_spawn_process;
+# gpgrt_spawn_process_fd;
+# gpgrt_spawn_process_detached;
+# gpgrt_wait_process;
+# gpgrt_wait_processes;
+# gpgrt_kill_process;
+# gpgrt_release_process;
local:
diff --git a/src/sysutils.c b/src/sysutils.c
index 1f2c293..c3aaf42 100644
--- a/src/sysutils.c
+++ b/src/sysutils.c
@@ -50,7 +50,7 @@ _gpgrt_fd_valid_p (int fd)
/* Our variant of getenv. The returned string must be freed. If the
- * environment variable does not exists NULL is retruned and ERRNO set
+ * environment variable does not exists NULL is returned and ERRNO set
* to 0. */
char *
_gpgrt_getenv (const char *name)
diff --git a/src/visibility.c b/src/visibility.c
index 2039ef7..9358163 100644
--- a/src/visibility.c
+++ b/src/visibility.c
@@ -1009,6 +1009,7 @@ _gpgrt_log_assert (const char *expr, const char *file,
}
+#if 0
gpg_err_code_t
gpgrt_make_pipe (int filedes[2], estream_t *r_fp, int direction, int nonblock)
{
@@ -1063,7 +1064,7 @@ gpgrt_release_process (pid_t pid)
{
_gpgrt_release_process (pid);
}
-
+#endif /*0*/
/* For consistency reasons we use function wrappers also for Windows