2 * Unix SMB/CIFS implementation.
4 * Dummy replacements for socket functions.
6 * Copyright (C) Michael Adam <obnox@samba.org> 2008
8 * ** NOTE! The following LGPL license applies to the replace
9 * ** library. This does NOT imply that all of Samba is released
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 3 of the License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Library General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
27 #include "system/network.h"
29 int rep_connect(int sockfd
, const struct sockaddr
*serv_addr
, socklen_t addrlen
)
35 struct hostent
*rep_gethostbyname(const char *name
)