* changed nlq to open and close the netlink object
[nlq.git] / nlq.c
blob4ee3d36a82aa35589a41622610d4085d7f7cc35d
1 /*
2 * Copyright (C) 2007 Alejandro Mery <amery@geeks.cl>
4 * More information can be found in the files COPYING and README.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 3 of the License. A copy of the
9 * GNU General Public License can be found in the file COPYING.
12 #include "nlq.h"
14 #include <stdlib.h>
16 int main( int argc, char **argv ) {
17 link_t l;
18 if ( nl_open( &l ) < 0 )
19 return EXIT_FAILURE;
20 nl_close( &l );
21 return EXIT_SUCCESS;
22 return EXIT_SUCCESS;