Add additional comments
[mpls-ldp-portable.git] / ldp / ldp_inet_addr.c
blob89ab9943314fda67d557d81ca372071c54e605c4
2 /*
3 * Copyright (C) James R. Leu 2000
4 * jleu@mindspring.com
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
8 */
10 #include "ldp_struct.h"
11 #include "ldp_inet_addr.h"
13 #include "mpls_mm_impl.h"
15 mpls_inet_addr *mpls_inet_addr_create()
17 mpls_inet_addr *ia = (mpls_inet_addr *) mpls_malloc(sizeof(mpls_inet_addr));
19 if (ia != NULL)
20 memset(ia, 0, sizeof(mpls_inet_addr));
22 return ia;