GnuCash 2.4.99
numeric_ops.h
00001 /***************************************************************************
00002  *              -------------------
00003  *    create   : Tue Jul 11 20:21:18 2000
00004  *    copyright: (C) 2000 by Terry D. Boldt
00005  *    email    : tboldt@attglobal.net
00006  *              -------------------
00007  ***************************************************************************/
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 /***************************************************************************
00017  *  Global Function Prototypes
00018  *  Tue Jul 11 20:21:18 2000
00019  *
00020  ***************************************************************************/
00021 
00022 #ifndef NUMERIC_OPS_H
00023 #define NUMERIC_OPS_H
00024 
00025 void *trans_numeric(const char *str, /* pointer to string to translate */
00026                     char radix_point, /* radix character */
00027                     char group_char, /* grouping character to left of radix */
00028                     char **endstr); /* where to return pointer to first
00029                                      * unrecognized character */
00030 
00031 void free_numeric(void *numeric_value);
00032 
00033 void *negate_numeric(void *value);
00034 
00035 void *numeric_ops(char op_symbol,
00036                   void *l_value,
00037                   void *r_value);
00038 
00039 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines