diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-01-28 23:50:47 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-01-28 23:50:47 +0100 |
commit | e09c0972c350e9411683b509414fc598cbf387d3 (patch) | |
tree | 2472742ab64bf82da9c4011f0adee5d56cb57af6 /src/process.h | |
parent | 6d25cbeaaf93615b8d7f26024ba014104eb5d4f2 (diff) | |
download | emacs-e09c0972c350e9411683b509414fc598cbf387d3.tar.gz |
Refactor make_network_process
* src/process.c (set_network_socket_coding_system)
(connect_network_socket): Refactor out of
make_network_process to allow calling connect_network_socket
asynchronously.
(Fmake_network_process): Do nothing but parsing the parameters
and name resolution, leaving the connection to
connect_network_socket.
Diffstat (limited to 'src/process.h')
-rw-r--r-- | src/process.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h index 8d9f8f4c072..e2e6ca92984 100644 --- a/src/process.h +++ b/src/process.h @@ -161,7 +161,13 @@ struct Lisp_Process flag indicates that `raw_status' contains a new status that still needs to be synced to `status'. */ bool_bf raw_status_new : 1; + bool_bf is_non_blocking_client : 1; + bool_bf is_server : 1; int raw_status; + int backlog; + int port; + int socktype; + int ai_protocol; #ifdef HAVE_GNUTLS gnutls_initstage_t gnutls_initstage; |