1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 04:30:45 -08:00
emacs/lib-src
Juanma Barranquero aa0b693297 Add support for TCP sockets.
(SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL, INITIALIZE): New
macros.
(IOCTL_BOOL_ARG): New typedef.
(server_file): New global variable.
(longopts): New option --server-file.
(decode_options): Process new option --server-file and environment variable
EMACS_SERVER_FILE.
(print_help_and_exit): Document new option.
(fail): If no connection available and no alternate editor, suggest using
options to make them explicit.
(AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
(send_buffer, sblen): New variables.
(send_to_emacs): New function to buffer output and send it with send().
(quote_file_name): Use SEND_STRING.
(close_winsock, initialize_sockets): New functions to load and unload Winsock.
(get_server_config, set_tcp_socket): New functions to create and set up TCP
sockets.
(set_local_socket): New function to create and set up Unix socket (code moved
from previous implementation).
(set_socket): New function to chose between TCP and Unix sockets.
(main): Use SEND_STRING and SEND_QUOTED.  Most code moved to set_local_socket.
Use set_socket.  Get answers from server.el with recv(), not file stream
functions.
2006-10-31 00:21:19 +00:00
..
.arch-inventory Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-483 2004-08-09 07:40:39 +00:00
.gitignore Add blessmail. 2006-09-30 09:22:41 +00:00
b2m.c * lib-src/b2m.c (main): Don't include <limits.h>. 2006-04-04 04:13:02 +00:00
b2m.pl Update FSF's address. 2005-07-04 15:47:28 +00:00
ChangeLog Typo. 2006-10-11 09:49:15 +00:00
COPYING Replace "Library Public License" by "Lesser Public License" throughout. 2006-09-15 17:19:05 +00:00
cvtmail.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h. 2006-06-03 15:05:05 +00:00
ebrowse.c * ebrowse.c (usage, version): Mark as NO_RETURN. 2006-07-18 16:33:45 +00:00
emacsclient.c Add support for TCP sockets. 2006-10-31 00:21:19 +00:00
emacstool.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
etags.c Fix previous change. 2006-08-09 06:56:38 +00:00
fakemail.c (fatal): Drop second parameter and treat first 2006-07-20 13:33:48 +00:00
getopt.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
getopt1.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
getopt_.h Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
getopt_int.h Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
gettext.h Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
grep-changelog Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
hexl.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
make-docfile.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
Makefile.in (UTILITIES): Remove yow${EXEEXT}. 2006-06-09 17:53:58 +00:00
makefile.w32-in (ALL): Add emacsclient. 2006-10-31 00:19:38 +00:00
movemail.c (main): Check for negative value from `read'. 2006-04-29 18:55:19 +00:00
ntlib.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
ntlib.h Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
pop.c (pop_open, socket_connection, KPOP_SERVICE): Added 2006-05-23 10:44:39 +00:00
pop.h Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
profile.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
rcs-checkin Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
rcs2log Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
README changed Emacs' to GNU Emacs' 2006-03-31 07:25:44 +00:00
sorted-doc.c (main): Initialize bp, to avoid compiler warnings 2006-06-03 14:58:50 +00:00
test-distrib.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
testfile
update-game-score.c Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
vcdiff Use "echo" as a default for $echo, otherwise we'll execute $DIFF 2006-03-18 14:47:20 +00:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.