aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:02:17 +0200
committerMax Kellermann <max@duempel.org>2008-08-28 20:02:17 +0200
commitbc1c8835c612ccb8063982657453fe658ed69d75 (patch)
tree192d420f193d8b5c6690d7064634ea58e3bc2d2d /src/interface.h
parent801c71ed1c02a1505ef64902f6557fdfe1749a96 (diff)
downloadmpd-bc1c8835c612ccb8063982657453fe658ed69d75.tar.gz
mpd-bc1c8835c612ccb8063982657453fe658ed69d75.tar.xz
mpd-bc1c8835c612ccb8063982657453fe658ed69d75.zip
const pointers
The usual bunch of pointer arguments which should be const.
Diffstat (limited to 'src/interface.h')
-rw-r--r--src/interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.h b/src/interface.h
index a364f7922..c83381319 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -22,10 +22,10 @@
#include "os_compat.h"
void initInterfaces(void);
-void openAInterface(int fd, struct sockaddr *addr);
+void openAInterface(int fd, const struct sockaddr *addr);
void freeAllInterfaces(void);
void closeOldInterfaces(void);
-int interfacePrintWithFD(int fd, char *buffer, size_t len);
+int interfacePrintWithFD(int fd, const char *buffer, size_t len);
int doIOForInterfaces(void);