realpath the socket path; also sprinkle some const.

This commit is contained in:
Nicholas Marriott
2007-11-12 15:12:08 +00:00
parent e4a6cdefda
commit 4309d65475
4 changed files with 32 additions and 36 deletions

6
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.78 2007-11-12 14:21:41 nicm Exp $ */
/* $Id: tmux.h,v 1.79 2007-11-12 15:12:08 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -595,7 +595,7 @@ extern const struct cmd_entry cmd_unlink_window_entry;
void cmd_select_window_default(void **, int);
/* client.c */
int client_init(char *, struct client_ctx *, int);
int client_init(const char *, struct client_ctx *, int);
int client_flush(struct client_ctx *);
int client_main(struct client_ctx *);
@ -622,7 +622,7 @@ const char *key_string_lookup_key(int);
/* server.c */
extern struct clients clients;
int server_start(char *);
int server_start(const char *);
/* server-msg.c */
int server_msg_dispatch(struct client *);