/[radius]/radius/lib/radargp.c
ViewVC logotype

Diff of /radius/lib/radargp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by gray, Tue Jul 9 12:29:15 2002 UTC revision 1.6 by gray, Wed Apr 30 08:53:31 2003 UTC
# Line 1  Line 1 
1  /* This file is part of GNU RADIUS.  /* This file is part of GNU Radius.
2     Copyright (C) 2000,2001 Sergey Poznyakoff     Copyright (C) 2000,2001,2002,2003 Sergey Poznyakoff
3        
4     This program is free software; you can redistribute it and/or modify     GNU Radius is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.     (at your option) any later version.
8        
9     This program is distributed in the hope that it will be useful,     GNU Radius is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.     GNU General Public License for more details.
13        
14     You should have received a copy of the GNU General Public License     You should have received a copy of the GNU General Public License
15     along with this program; if not, write to the Free Software Foundation,     along with GNU Radius; if not, write to the Free Software Foundation,
16     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17    
18  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
# Line 76  static char license_text[] = N_( Line 76  static char license_text[] = N_(
76      "   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n");      "   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n");
77    
78  static error_t  static error_t
79  rad_common_argp_parser (key, arg, state)  rad_common_argp_parser(int key, char *arg, struct argp_state *state)
         int key;  
         char *arg;  
         struct argp_state *state;  
80  {  {
81          switch (key) {          switch (key) {
82          case 'd':          case 'd':
# Line 103  rad_common_argp_parser (key, arg, state) Line 100  rad_common_argp_parser (key, arg, state)
100  char *progname;  char *progname;
101    
102  error_t  error_t
103  rad_argp_parse(argp, pargc, pargv, flags, arg_index, input)  rad_argp_parse(const struct argp *argp, int *pargc, char **pargv[],
104          const struct argp *argp;                 unsigned flags, int *arg_index, void *input)
         int *pargc;  
         char **pargv[];  
         unsigned flags;  
         int *arg_index;  
         void *input;  
105  {  {
106          error_t ret;          error_t ret;
107        

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26