diff options
Diffstat (limited to 'src/process.h')
| -rw-r--r-- | src/process.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h index 35b01aba6a4..562d888f93f 100644 --- a/src/process.h +++ b/src/process.h | |||
| @@ -24,6 +24,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 24 | #include <unistd.h> | 24 | #include <unistd.h> |
| 25 | #endif | 25 | #endif |
| 26 | 26 | ||
| 27 | #ifdef HAVE_GNUTLS | ||
| 28 | #include "gnutls.h" | ||
| 29 | #endif | ||
| 30 | |||
| 27 | /* This structure records information about a subprocess | 31 | /* This structure records information about a subprocess |
| 28 | or network connection. | 32 | or network connection. |
| 29 | 33 | ||
| @@ -76,6 +80,10 @@ struct Lisp_Process | |||
| 76 | /* Working buffer for encoding. */ | 80 | /* Working buffer for encoding. */ |
| 77 | Lisp_Object encoding_buf; | 81 | Lisp_Object encoding_buf; |
| 78 | 82 | ||
| 83 | #ifdef HAVE_GNUTLS | ||
| 84 | Lisp_Object gnutls_cred_type; | ||
| 85 | #endif | ||
| 86 | |||
| 79 | /* After this point, there are no Lisp_Objects any more. */ | 87 | /* After this point, there are no Lisp_Objects any more. */ |
| 80 | /* alloc.c assumes that `pid' is the first such non-Lisp slot. */ | 88 | /* alloc.c assumes that `pid' is the first such non-Lisp slot. */ |
| 81 | 89 | ||
| @@ -121,6 +129,13 @@ struct Lisp_Process | |||
| 121 | needs to be synced to `status'. */ | 129 | needs to be synced to `status'. */ |
| 122 | unsigned int raw_status_new : 1; | 130 | unsigned int raw_status_new : 1; |
| 123 | int raw_status; | 131 | int raw_status; |
| 132 | |||
| 133 | #ifdef HAVE_GNUTLS | ||
| 134 | gnutls_initstage_t gnutls_initstage; | ||
| 135 | gnutls_session_t gnutls_state; | ||
| 136 | gnutls_certificate_client_credentials x509_cred; | ||
| 137 | gnutls_anon_client_credentials_t anon_cred; | ||
| 138 | #endif | ||
| 124 | }; | 139 | }; |
| 125 | 140 | ||
| 126 | /* Every field in the preceding structure except for the first two | 141 | /* Every field in the preceding structure except for the first two |