PCB-FPW developer documentation based on version: 0.0.11

Functions | Variables

fpw.c File Reference

fpw (FootPrintWizard) is a CLI program for the creation of footprints. More...

Go to the source code of this file.

Functions

 bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR)
 bind_textdomain_codeset (GETTEXT_PACKAGE,"UTF-8")
 textdomain (GETTEXT_PACKAGE)
int print_version ()
 Print the version of the footprintwizard to stderr.
int print_usage ()
 Print the usage message for the footprintwizard to stderr.
int main (int argc, char **argv)
 The CLI for the footprintwizard.

Variables

gchar * program_name = NULL
gchar * fpw_filename

Detailed Description

fpw (FootPrintWizard) is a CLI program for the creation of footprints.

Author:
Copyright (C) 2007, 2008, 2009, 2010 by Bert Timmerman <bert.timmerman@xs4all.nl>

fpw (FootPrintWizard) is a program run from the Command Line Interface (CLI) for the creation of footprints files.
These footprint files can be used by the pcb layout application (see http://pcb.gpleda.org) to allow for the placement of parts on a pcb layout.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Definition in file fpw.c.


Function Documentation

int main ( int  argc,
char **  argv 
)

The CLI for the footprintwizard.

Returns:
EXIT_SUCCESS.
Parameters:
argc : number of arguments on CLI
argv : array of argument variables

Definition at line 139 of file fpw.c.

int print_usage (  ) 

Print the usage message for the footprintwizard to stderr.

Returns:
EXIT_SUCCESS.

Definition at line 109 of file fpw.c.

Referenced by cmdline_options(), and main().

int print_version (  ) 

Print the version of the footprintwizard to stderr.

Returns:
EXIT_SUCCESS.

Definition at line 91 of file fpw.c.

Referenced by cmdline_options(), and main().