util/Error: new error passing library

Replaces GLib's GError.
This commit is contained in:
Max Kellermann
2013-08-10 18:02:44 +02:00
parent c9fcc7f148
commit 29030b54c9
256 changed files with 3269 additions and 3371 deletions
+2 -3
View File
@@ -26,11 +26,10 @@
#ifndef MPD_SOCKET_UTIL_HXX
#define MPD_SOCKET_UTIL_HXX
#include "gerror.h"
#include <stddef.h>
struct sockaddr;
class Error;
/**
* Creates a socket listening on the specified address. This is a
@@ -50,7 +49,7 @@ int
socket_bind_listen(int domain, int type, int protocol,
const struct sockaddr *address, size_t address_length,
int backlog,
GError **error);
Error &error);
int
socket_keepalive(int fd);