Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: third_party/talloc/libreplace/inet_aton.c

Issue 2282793002: Remove unused third_party/talloc (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/talloc/libreplace/getpass.m4 ('k') | third_party/talloc/libreplace/inet_ntoa.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Unix SMB/CIFS implementation.
3 * replacement functions
4 * Copyright (C) Michael Adam <obnox@samba.org> 2008
5 *
6 * ** NOTE! The following LGPL license applies to the replace
7 * ** library. This does NOT imply that all of Samba is released
8 * ** under the LGPL
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 3 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
22 */
23
24 #include "replace.h"
25 #include "system/network.h"
26
27 /**
28 * We know that we have inet_pton from earlier libreplace checks.
29 */
30 int rep_inet_aton(const char *src, struct in_addr *dst)
31 {
32 return (inet_pton(AF_INET, src, dst) > 0) ? 1 : 0;
33 }
OLDNEW
« no previous file with comments | « third_party/talloc/libreplace/getpass.m4 ('k') | third_party/talloc/libreplace/inet_ntoa.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698