2001-07-02 Dave Peticolas <dave@krondo.com>

* many header files: apply Ben Stanley's script to
	convert __HEADER_H__ to HEADER_H. All names starting
	with '_' are reserved.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4852 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-07-03 06:49:39 +00:00
parent 53be4e22c3
commit f9ee248445
111 changed files with 281 additions and 277 deletions

View File

@ -1,5 +1,9 @@
2001-07-02 Dave Peticolas <dave@krondo.com>
* many header files: apply Ben Stanley's script to
convert __HEADER_H__ to HEADER_H. All names starting
with '_' are reserved.
* src/gnome/gnc-dateedit.c: sync with datecell-gnome.c
* src/register/gnome/datecell-gnome.c: use GDate to do

View File

@ -23,8 +23,8 @@
* Huntington Beach, CA 92648-4632 *
\********************************************************************/
#ifndef __ACC_WINDOW_H__
#define __ACC_WINDOW_H__
#ifndef ACC_WINDOW_H
#define ACC_WINDOW_H
#include "config.h"
@ -45,4 +45,4 @@ Account * gnc_ui_new_accounts_from_name_window (const char *name);
void gnc_ui_set_default_new_account_currency (const char *currency);
#endif /* __ACC_WINDOW_H__ */
#endif /* ACC_WINDOW_H */

View File

@ -19,8 +19,8 @@
* *
\********************************************************************/
#ifndef __EURO_UTILS_H__
#define __EURO_UTILS_H__
#ifndef EURO_UTILS_H
#define EURO_UTILS_H
#include <glib.h>
@ -36,6 +36,6 @@ gnc_numeric gnc_euro_currency_get_rate (const gnc_commodity *currency);
gnc_commodity * gnc_get_euro (void);
#endif /* __EURO_UTILS_H__ */
#endif /* EURO_UTILS_H */
/************************** END OF FILE *************************/

View File

@ -22,8 +22,8 @@
* Huntington Beach, CA 92648-4632 *
\********************************************************************/
#ifndef __FILEBOX_H__
#define __FILEBOX_H__
#ifndef FILEBOX_H
#define FILEBOX_H
#include "config.h"

View File

@ -116,8 +116,8 @@
* Derived from Rob Clark's original MainWindow.c code, Dec 1998
*/
#ifndef __GNC_FILE_DIALOG_H__
#define __GNC_FILE_DIALOG_H__
#ifndef GNC_FILE_DIALOG_H
#define GNC_FILE_DIALOG_H
#include "config.h"
@ -142,4 +142,4 @@ Account *gncGetTemplateAccount(void);
GNCBook *gncGetCurrentBook (void);
#endif /* __GNC_FILE_DIALOG_H__ */
#endif /* GNC_FILE_DIALOG_H */

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __MULTI_LEDGER_H__
#define __MULTI_LEDGER_H__
#ifndef MULTI_LEDGER_H
#define MULTI_LEDGER_H
#include "config.h"
@ -121,6 +121,6 @@ void xaccLedgerDisplayClose (xaccLedgerDisplay * ledger_display);
/* close all ledger windows containing this account. */
void xaccDestroyLedgerDisplay (Account *account);
#endif /* __MULTI_LEDGER_H__ */
#endif /* MULTI_LEDGER_H */
/************************** END OF FILE *************************/

View File

@ -23,8 +23,8 @@
* Huntington Beach, CA 92648-4632 *
\********************************************************************/
#ifndef __RECONCILE_H__
#define __RECONCILE_H__
#ifndef RECONCILE_H
#define RECONCILE_H
#include "config.h"

View File

@ -23,8 +23,8 @@
* Huntington Beach, CA 92648-4632 *
\********************************************************************/
#ifndef __REGWINDOW_H__
#define __REGWINDOW_H__
#ifndef REGWINDOW_H
#define REGWINDOW_H
#include "config.h"

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __XACC_SPLIT_LEDGER_H__
#define __XACC_SPLIT_LEDGER_H__
#ifndef XACC_SPLIT_LEDGER_H
#define XACC_SPLIT_LEDGER_H
#include <glib.h>
@ -241,4 +241,4 @@ void gnc_copy_trans_onto_trans(Transaction *from, Transaction *to,
gboolean do_commit);
#endif /* __XACC_SPLIT_LEDGER_H__ */
#endif /* XACC_SPLIT_LEDGER_H */

View File

@ -19,8 +19,8 @@
*
***************************************************************************/
#ifndef __FIN_SPL_PROTOS_H__
#define __FIN_SPL_PROTOS_H__
#ifndef FIN_SPL_PROTOS_H
#define FIN_SPL_PROTOS_H
/*==================================================*/
/* expression_parser.c */

View File

@ -19,8 +19,8 @@
*
***************************************************************************/
#ifndef __FINPROTO_H__
#define __FINPROTO_H__
#ifndef FINPROTO_H
#define FINPROTO_H
#include <stdio.h>

View File

@ -19,8 +19,8 @@
*
***************************************************************************/
#ifndef __FINVAR_H__
#define __FINVAR_H__
#ifndef FINVAR_H
#define FINVAR_H
#if !defined( EOS )
#define EOS '\x000'

View File

@ -19,8 +19,8 @@
*
***************************************************************************/
#ifndef __NUMERIC_OPS_H__
#define __NUMERIC_OPS_H__
#ifndef NUMERIC_OPS_H
#define NUMERIC_OPS_H
void *trans_numeric(const char *str, /* pointer to string to translate */
char radix_point, /* radix character */

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __XACC_ACCOUNT_H__
#define __XACC_ACCOUNT_H__
#ifndef XACC_ACCOUNT_H
#define XACC_ACCOUNT_H
#include "config.h"
@ -402,4 +402,4 @@ xaccAccountFindTransByDesc(Account *account, const char *description);
Split *
xaccAccountFindSplitByDesc(Account *account, const char *description);
#endif /* __XACC_ACCOUNT_H__ */
#endif /* XACC_ACCOUNT_H */

View File

@ -39,8 +39,8 @@
*
*/
#ifndef __XACC_ACCOUNT_P_H__
#define __XACC_ACCOUNT_P_H__
#ifndef XACC_ACCOUNT_P_H
#define XACC_ACCOUNT_P_H
#include "config.h"
@ -215,4 +215,4 @@ void xaccFreeAccount (Account *account);
void xaccAccountSetVersion (Account*, gint32);
gint32 xaccAccountGetVersion (Account*);
#endif /* __XACC_ACCOUNT_P_H__ */
#endif /* XACC_ACCOUNT_P_H */

View File

@ -34,8 +34,8 @@
* the GUI & other front-end users. This file defines these errors.
*/
#ifndef __XACC_BACKEND_H__
#define __XACC_BACKEND_H__
#ifndef XACC_BACKEND_H
#define XACC_BACKEND_H
#include "config.h"
@ -89,4 +89,4 @@ typedef enum {
} GNCBackendError;
/* NOTE: if you modify GNCBackendError, please update src/scm/gnc.gwp */
#endif /* __XACC_BACKEND_H__ */
#endif /* XACC_BACKEND_H */

View File

@ -37,8 +37,8 @@
*
*/
#ifndef __XACC_BACKEND_P_H__
#define __XACC_BACKEND_P_H__
#ifndef XACC_BACKEND_P_H
#define XACC_BACKEND_P_H
#include "config.h"
@ -225,4 +225,4 @@ Backend * xaccGNCBookGetBackend (GNCBook *book);
void xaccPriceDBSetBackend (GNCPriceDB *prdb, Backend *be);
Backend * xaccPriceDBGetBackend (GNCPriceDB *prdb);
#endif /* __XACC_BACKEND_P_H__ */
#endif /* XACC_BACKEND_P_H */

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __XACC_DATE_UTILS_H__
#define __XACC_DATE_UTILS_H__
#ifndef XACC_DATE_UTILS_H
#define XACC_DATE_UTILS_H
#include <time.h>
@ -31,7 +31,7 @@
char * xaccDateUtilGetStamp (time_t thyme);
char * xaccDateUtilGetStampNow (void);
#endif /* __XACC_DATE_UTILS_H__ */
#endif /* XACC_DATE_UTILS_H */
/************************ END OF ************************************\
\************************* FILE *************************************/

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __GNC_ID_H__
#define __GNC_ID_H__ 1
#ifndef GNC_ID_H
#define GNC_ID_H 1
/* This file defines an API for using gnucash entity identifiers.
*

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __GNC_ID_P_H__
#define __GNC_ID_P_H__ 1
#ifndef GNC_ID_P_H
#define GNC_ID_P_H 1
#include "GNCId.h"

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __XACC_ACCOUNT_GROUP_H__
#define __XACC_ACCOUNT_GROUP_H__
#ifndef XACC_ACCOUNT_GROUP_H
#define XACC_ACCOUNT_GROUP_H
#include "config.h"
@ -366,4 +366,4 @@ xaccGroupVisitUnvisitedTransactions(AccountGroup *g,
void *data,
GHashTable *visited_txns);
#endif /* __XACC_ACCOUNT_GROUP_H__ */
#endif /* XACC_ACCOUNT_GROUP_H */

View File

@ -33,8 +33,8 @@
*
*/
#ifndef __XACC_ACCOUNT_GROUP_P_H__
#define __XACC_ACCOUNT_GROUP_P_H__
#ifndef XACC_ACCOUNT_GROUP_P_H
#define XACC_ACCOUNT_GROUP_P_H
#include "config.h"
@ -60,4 +60,4 @@ struct _account_group
gnc_numeric balance;
};
#endif /* __XACC_ACCOUNT_GROUP_P_H__ */
#endif /* XACC_ACCOUNT_GROUP_P_H */

View File

@ -22,11 +22,11 @@
\********************************************************************/
#ifndef __XACC_NET_IO_H__
#define __XACC_NET_IO_H__
#ifndef XACC_NET_IO_H
#define XACC_NET_IO_H
#include "BackendP.h"
Backend * xmlendNew (void);
#endif /* __XACC_NET_IO_H__ */
#endif /* XACC_NET_IO_H */

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __GNUCASH_QUERY_H__
#define __GNUCASH_QUERY_H__
#ifndef GNUCASH_QUERY_H
#define GNUCASH_QUERY_H
#include <sys/types.h>
#include <time.h>

View File

@ -62,8 +62,8 @@
* Copyright (c) 1999, 2000 Linas Vepstas
*/
#ifndef __XACC_QUEUE_H__
#define __XACC_QUEUE_H__
#ifndef XACC_QUEUE_H
#define XACC_QUEUE_H
#include "Transaction.h"
@ -107,4 +107,4 @@ double xaccQueuePopTailValue (Queue *, double);
double xaccQueueGetValue (Queue *);
double xaccQueueGetShares (Queue *);
#endif /* __XACC_QUEUE_H__ */
#endif /* XACC_QUEUE_H */

View File

@ -34,8 +34,8 @@
* Copyright (c) 1998, 1999, 2000 Linas Vepstas
*/
#ifndef __XACC_SCRUB_H__
#define __XACC_SCRUB_H__
#ifndef XACC_SCRUB_H
#define XACC_SCRUB_H
#include "Account.h"
#include "Group.h"
@ -83,4 +83,4 @@ void xaccAccountScrubImbalance (Account *acc);
void xaccAccountTreeScrubImbalance (Account *acc);
void xaccGroupScrubImbalance (AccountGroup *grp);
#endif /* __XACC_SCRUB_H__ */
#endif /* XACC_SCRUB_H */

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __XACC_TRANS_LOG_H__
#define __XACC_TRANS_LOG_H__
#ifndef XACC_TRANS_LOG_H
#define XACC_TRANS_LOG_H
#include "config.h"
@ -42,5 +42,5 @@ void xaccLogDisable (void);
*/
void xaccLogSetBaseName (const char *);
#endif /* __XACC_TRANS_LOG_H__ */
#endif /* XACC_TRANS_LOG_H */

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __XACC_TRANSACTION_H__
#define __XACC_TRANSACTION_H__
#ifndef XACC_TRANSACTION_H
#define XACC_TRANSACTION_H
#include "config.h"
@ -569,4 +569,4 @@ Split * xaccSplitGetOtherSplit (Split *split);
*/
int xaccIsPeerSplit (Split *split_1, Split *split_2);
#endif /* __XACC_TRANSACTION_H__ */
#endif /* XACC_TRANSACTION_H */

View File

@ -42,8 +42,8 @@
*
*/
#ifndef __XACC_TRANSACTION_P_H__
#define __XACC_TRANSACTION_P_H__
#ifndef XACC_TRANSACTION_P_H
#define XACC_TRANSACTION_P_H
#include <time.h>
#include <glib.h>
@ -226,4 +226,4 @@ gnc_numeric xaccSplitsComputeValue (GList *splits, Split * skip_me,
void xaccTransSetVersion (Transaction*, gint32);
gint32 xaccTransGetVersion (Transaction*);
#endif /* __XACC_TRANSACTION_P_H__ */
#endif /* XACC_TRANSACTION_P_H */

View File

@ -28,8 +28,8 @@
* If a file-io thing needs date handling, it should do it itself,
* instead of depending on the routines here. */
#ifndef __XACC_DATE_H__
#define __XACC_DATE_H__
#ifndef XACC_DATE_H
#define XACC_DATE_H
#include <time.h>
@ -201,4 +201,4 @@ char * gnc_timespec_to_iso8601_buff (Timespec ts, char * buff);
*/
long int gnc_timezone (struct tm *tm);
#endif /* __XACC_DATE_H__ */
#endif /* XACC_DATE_H */

View File

@ -26,8 +26,8 @@
* Copyright (c) 2001 Rob Browning
*/
#ifndef __GNC_BOOK_P_H__
#define __GNC_BOOK_P_H__
#ifndef GNC_BOOK_P_H
#define GNC_BOOK_P_H
#include "gnc-book.h"
#include "gnc-pricedb.h"
@ -38,4 +38,4 @@ void gnc_book_set_pricedb(GNCBook *book, GNCPriceDB *db);
void gnc_book_mark_saved(GNCBook *book);
#endif /* __GNC_BOOK_P_H__ */
#endif /* GNC_BOOK_P_H */

View File

@ -50,8 +50,8 @@
* Copyright (c) 2000 Dave Peticolas
*/
#ifndef __GNC_BOOK_H__
#define __GNC_BOOK_H__
#ifndef GNC_BOOK_H
#define GNC_BOOK_H
#include "Group.h"
#include "Backend.h"
@ -217,4 +217,4 @@ GNCBookFileType gnc_book_determine_file_type(GNCBook *book);
/* Run the RPC Server */
void gnc_run_rpc_server (void);
#endif /* __GNC_BOOK_H__ */
#endif /* GNC_BOOK_H */

View File

@ -21,8 +21,8 @@
* *
*******************************************************************/
#ifndef __GNC_COMMODITY_H__
#define __GNC_COMMODITY_H__
#ifndef GNC_COMMODITY_H
#define GNC_COMMODITY_H
#include <glib.h>

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __GNC_COMMON_H__
#define __GNC_COMMON_H__
#ifndef GNC_COMMON_H
#define GNC_COMMON_H
#include "config.h"
#include <glib.h>

View File

@ -24,8 +24,8 @@
* Author: Linas Vepstas (linas@linas.org) *
\********************************************************************/
#ifndef __GNC_ENGINE_UTIL_H__
#define __GNC_ENGINE_UTIL_H__
#ifndef GNC_ENGINE_UTIL_H
#define GNC_ENGINE_UTIL_H
#ifdef HAVE_CONFIG_H
#include "config.h"

View File

@ -21,8 +21,8 @@
* *
********************************************************************/
#ifndef __GNC_ENGINE_H__
#define __GNC_ENGINE_H__
#ifndef GNC_ENGINE_H
#define GNC_ENGINE_H
#include "gnc-commodity.h"

View File

@ -21,8 +21,8 @@
* *
********************************************************************/
#ifndef __GNC_EVENT_P_H__
#define __GNC_EVENT_P_H__
#ifndef GNC_EVENT_P_H
#define GNC_EVENT_P_H
#include "gnc-event.h"

View File

@ -21,8 +21,8 @@
* *
********************************************************************/
#ifndef __GNC_EVENT_H__
#define __GNC_EVENT_H__
#ifndef GNC_EVENT_H
#define GNC_EVENT_H
#include <glib.h>

View File

@ -21,8 +21,8 @@
* *
*******************************************************************/
#ifndef __GNC_NUMERIC_H__
#define __GNC_NUMERIC_H__
#ifndef GNC_NUMERIC_H
#define GNC_NUMERIC_H
#include <glib.h>

View File

@ -21,8 +21,8 @@
* *
*******************************************************************/
#ifndef __GNC_PRICEDB_P_H__
#define __GNC_PRICEDB_P_H__
#ifndef GNC_PRICEDB_P_H
#define GNC_PRICEDB_P_H
#include <glib.h>

View File

@ -21,8 +21,8 @@
* *
*******************************************************************/
#ifndef __GNC_PRICEDB_H__
#define __GNC_PRICEDB_H__
#ifndef GNC_PRICEDB_H
#define GNC_PRICEDB_H
#include "date.h"
#include "gnc-numeric.h"

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __GNC_XML_H__
#define __GNC_XML_H__
#ifndef GNC_XML_H
#define GNC_XML_H
#include "config.h"
@ -61,4 +61,4 @@ sixtp* gnc_freqSpec_sixtp_parser_create(void);
sixtp* gnc_template_transaction_sixtp_parser_create(void);
#endif /* __GNC_XML_H__ */
#endif /* GNC_XML_H */

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __GUID_H__
#define __GUID_H__
#ifndef GUID_H
#define GUID_H
#ifdef HAVE_CONFIG_H
# include "config.h"

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __IO_EXAMPLE_ACCOUNT_H__
#define __IO_EXAMPLE_ACCOUNT_H__
#ifndef IO_EXAMPLE_ACCOUNT_H
#define IO_EXAMPLE_ACCOUNT_H
#include <glib.h>
@ -58,4 +58,4 @@ GSList* gnc_load_example_account_list(const char *dirname);
gboolean gnc_is_example_account_xml(const gchar *name);
#endif /* __IO_EXAMPLE_ACCOUNT_H__ */
#endif /* IO_EXAMPLE_ACCOUNT_H */

View File

@ -27,8 +27,8 @@
* Huntington Beach, CA 92648-4632 *
\********************************************************************/
#ifndef __IO_GNCBIN_H__
#define __IO_GNCBIN_H__
#ifndef IO_GNCBIN_H
#define IO_GNCBIN_H
#include "Backend.h"
#include "gnc-book.h"
@ -53,4 +53,4 @@
void gnc_book_load_from_binfile(GNCBook *book);
GNCBackendError gnc_book_get_binfile_io_error(void);
#endif /* __IO_GNCBIN_H__ */
#endif /* IO_GNCBIN_H */

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __IO_GNCXML_GEN_H__
#define __IO_GNCXML_GEN_H__
#ifndef IO_GNCXML_GEN_H
#define IO_GNCXML_GEN_H
#include <glib.h>
#include "sixtp.h"
@ -43,4 +43,4 @@ gboolean
gnc_xml_parse_file(sixtp *top_parser, const char *filename,
gxpf_callback callback, gpointer data);
#endif /* __IO_GNCXML_GEN_H__ */
#endif /* IO_GNCXML_GEN_H */

View File

@ -22,8 +22,8 @@
* *
********************************************************************/
#ifndef __IO_GNCXML_P_H__
#define __IO_GNCXML_P_H__
#ifndef IO_GNCXML_P_H
#define IO_GNCXML_P_H
#include "sixtp.h"
#include "io-gncxml.h"

View File

@ -29,8 +29,8 @@
* Tuneups by James LewisMoss Dec 2000
*/
#ifndef __IO_GNCXML_H__
#define __IO_GNCXML_H__
#ifndef IO_GNCXML_H
#define IO_GNCXML_H
#include <glib.h>
@ -48,4 +48,4 @@ gboolean gnc_book_load_from_xml_file(GNCBook *book);
*/
gboolean gnc_is_xml_data_file(const gchar *name);
#endif /* __IO_GNCXML_H__ */
#endif /* IO_GNCXML_H */

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __IO_UTILS_H__
#define __IO_UTILS_H__
#ifndef IO_UTILS_H
#define IO_UTILS_H
#include <stdio.h>
@ -37,4 +37,4 @@ void write_commodities(FILE *out, GNCBook *book);
void write_emacs_trailer(FILE *out);
#endif /* __IO_UTILS_H__ */
#endif /* IO_UTILS_H */

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __KVP_FRAME_H__
#define __KVP_FRAME_H__
#ifndef KVP_FRAME_H
#define KVP_FRAME_H
#include <glib.h>

View File

@ -31,8 +31,8 @@
*/
#ifndef __POSTGRES_BACKEND_H__
#define __POSTGRES_BACKEND_H__
#ifndef POSTGRES_BACKEND_H
#define POSTGRES_BACKEND_H
#include <libpq-fe.h>
@ -138,4 +138,4 @@ void pgendStoreAuditTransaction (PGBackend *be, Transaction *ptr, sqlBuild_QType
int pgendTransactionGetDeletedVersion (PGBackend *be, Transaction *ptr);
#endif /* __POSTGRES_BACKEND_H__ */
#endif /* POSTGRES_BACKEND_H */

View File

@ -21,8 +21,8 @@
\********************************************************************/
#ifndef __POSTGRES_ACCOUNT_H__
#define __POSTGRES_ACCOUNT_H__
#ifndef POSTGRES_ACCOUNT_H
#define POSTGRES_ACCOUNT_H
#include "Group.h"
#include "guid.h"
@ -37,4 +37,4 @@ int pgendCopyAccountToEngine (PGBackend *be, const GUID *acct_guid);
void pgend_account_commit_edit (Backend * bend, Account * acct);
#endif /* __POSTGRES_ACCOUNT_H__ */
#endif /* POSTGRES_ACCOUNT_H */

View File

@ -35,8 +35,8 @@
* Linas Vepstas January 2001
*/
#ifndef __SQL_BUILDER_H__
#define __SQL_BUILDER_H__
#ifndef SQL_BUILDER_H
#define SQL_BUILDER_H
#include "date.h"
#include "guid.h"
@ -89,5 +89,5 @@ void sqlBuild_Where_Int32 (sqlBuilder *b, const char *tag, gint32 val);
const char *sqlBuild_Query (sqlBuilder *b);
#endif /* __SQL_BUILDER_H__ */
#endif /* SQL_BUILDER_H */

View File

@ -31,8 +31,8 @@
*/
#ifndef __CHECKPOINT_H__
#define __CHECKPOINT_H__
#ifndef CHECKPOINT_H
#define CHECKPOINT_H
#include "Account.h"
#include "Group.h"
@ -88,4 +88,4 @@ void pgendGroupGetAllBalances (PGBackend *, AccountGroup *, Timespec as_of_date)
*/
void pgendAccountGetBalance (PGBackend *, Account *, Timespec as_of_date);
#endif /* __CHECKPOINT_H__ */
#endif /* CHECKPOINT_H */

View File

@ -31,8 +31,8 @@
* Linas Vepstas January 2001
*/
#ifndef __SQL_ESCAPE_H__
#define __SQL_ESCAPE_H__
#ifndef SQL_ESCAPE_H
#define SQL_ESCAPE_H
typedef struct _escape sqlEscape;
@ -41,5 +41,5 @@ void sqlEscape_destroy (sqlEscape *);
const char * sqlEscapeString (sqlEscape *, const char *orig_string);
#endif /* __SQL_ESCAPE_H__ */
#endif /* SQL_ESCAPE_H */

View File

@ -31,8 +31,8 @@
*/
#ifndef __POSTGRES_EVENTS_H__
#define __POSTGRES_EVENTS_H__
#ifndef POSTGRES_EVENTS_H
#define POSTGRES_EVENTS_H
#include "Backend.h"
#include "PostgresBackend.h"
@ -44,4 +44,4 @@ void pgendSessionGetPid (PGBackend *);
void pgendSessionSetupNotifies (PGBackend *);
#endif /* __POSTGRES_EVENTS_H__ */
#endif /* POSTGRES_EVENTS_H */

View File

@ -41,8 +41,8 @@
*/
#ifndef __GNC_QUERY_H__
#define __GNC_QUERY_H__
#ifndef GNC_QUERY_H
#define GNC_QUERY_H
#include "Query.h"
@ -55,4 +55,4 @@ void sql_Query_destroy (sqlQuery *);
const char *sqlQuery_build (sqlQuery *, Query *);
#endif /* __GNC_QUERY_H__ */
#endif /* GNC_QUERY_H */

View File

@ -31,8 +31,8 @@
* Copyright (c) 2001 Linas Vepstas
*/
#ifndef __KVP_SQL_H__
#define __KVP_SQL_H__
#ifndef KVP_SQL_H
#define KVP_SQL_H
#include "kvp_frame.h"
#include "guid.h"
@ -67,4 +67,4 @@ void pgendKVPDeleteStr (PGBackend *, const char *guid_string);
kvp_frame * pgendKVPFetch (PGBackend *, const GUID *, kvp_frame *);
#endif /* __KVP_SQL_H__ */
#endif /* KVP_SQL_H */

View File

@ -21,8 +21,8 @@
\********************************************************************/
#ifndef __POSTGRES_PRICE_H__
#define __POSTGRES_PRICE_H__
#ifndef POSTGRES_PRICE_H
#define POSTGRES_PRICE_H
#include "PostgresBackend.h"
@ -36,4 +36,4 @@ void pgendPriceLookup (Backend *bend, GNCPriceLookup *look);
void pgend_price_begin_edit (Backend * bend, GNCPrice *pr);
void pgend_price_commit_edit (Backend * bend, GNCPrice *pr);
#endif /* __POSTGRES_PRICE_H__ */
#endif /* POSTGRES_PRICE_H */

View File

@ -31,8 +31,8 @@
*
*/
#ifndef __P_UTIL_H__
#define __P_UTIL_H__
#ifndef P_UTIL_H
#define P_UTIL_H
#include <glib.h>
#include <string.h>
@ -313,6 +313,6 @@ gnc_commodity * gnc_string_to_commodity (const char *str);
}
#endif /* __P_UTIL_H__ */
#endif /* P_UTIL_H */
/* ======================== END OF FILE ======================== */

View File

@ -31,8 +31,8 @@
*/
#ifndef __POSTGRES_TXN_H__
#define __POSTGRES_TXN_H__
#ifndef POSTGRES_TXN_H
#define POSTGRES_TXN_H
#include <glib.h>
@ -52,4 +52,4 @@ void pgend_trans_rollback_edit (Backend * bend, Transaction * trans);
#endif /* __POSTGRES_TXN_H__ */
#endif /* POSTGRES_TXN_H */

View File

@ -8,8 +8,8 @@
// HISTORY:
// Written by Linas Vepstas March 1998
#ifndef __PFX_BASE_TYPES_H__
#define __PFX_BASE_TYPES_H__
#ifndef PFX_BASE_TYPES_H
#define PFX_BASE_TYPES_H
#include "config.h"
#include "DtdParser.h"
@ -48,4 +48,4 @@ class pfxBaseType {
}
#endif
#endif /* __PFX_BASE_TYPES_H__ */
#endif /* PFX_BASE_TYPES_H */

View File

@ -8,8 +8,8 @@
// HISTORY:
// Written by Linas Vepstas March 1998
#ifndef __PFX_COMP_TYPES_H__
#define __PFX_COMP_TYPES_H__
#ifndef PFX_COMP_TYPES_H
#define PFX_COMP_TYPES_H
#include "config.h"
#include "DtdParser.h"
@ -54,4 +54,4 @@ class pfxCompoundType :
}
#endif
#endif /* __PFX_COMP_TYPES_H__ */
#endif /* PFX_COMP_TYPES_H */

View File

@ -9,8 +9,8 @@
// HISTORY:
// Written by Linas Vepstas April 1998
#ifndef __PFX_COMP_OUT_H__
#define __PFX_COMP_OUT_H__
#ifndef PFX_COMP_OUT_H
#define PFX_COMP_OUT_H
#include "config.h"
#include <vector.h>
@ -104,4 +104,4 @@ class pfxOutConstructor :
};
#endif /* __PFX_COMP_OUT_H__ */
#endif /* PFX_COMP_OUT_H */

View File

@ -9,8 +9,8 @@
// Written by Linas Vepstas March 1998
#ifndef __PFX_UTILS_H__
#define __PFX_UTILS_H__
#ifndef PFX_UTILS_H
#define PFX_UTILS_H
#include <stdio.h>
@ -37,4 +37,4 @@ char * pfxCapLower (char * str);
}
#endif
#endif /* __PFX_UTILS_H__ */
#endif /* PFX_UTILS_H */

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __HISTORY_H__
#define __HISTORY_H__
#ifndef HISTORY_H
#define HISTORY_H
#include <gnome.h>
#define MAX_HISTORY 4

View File

@ -17,8 +17,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
\********************************************************************/
#ifndef __GNC_COMPONENT_MANAGER_H__
#define __GNC_COMPONENT_MANAGER_H__
#ifndef GNC_COMPONENT_MANAGER_H
#define GNC_COMPONENT_MANAGER_H
#include <glib.h>

View File

@ -17,8 +17,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
\********************************************************************/
#ifndef __GNC_EXP_PARSER_H__
#define __GNC_EXP_PARSER_H__
#ifndef GNC_EXP_PARSER_H
#define GNC_EXP_PARSER_H
#include "config.h"

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __GNC_UI_COMMON_H__
#define __GNC_UI_COMMON_H__
#ifndef GNC_UI_COMMON_H
#define GNC_UI_COMMON_H
#include "config.h"

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __GNC_UI_UTIL_H__
#define __GNC_UI_UTIL_H__
#ifndef GNC_UI_UTIL_H
#define GNC_UI_UTIL_H
#include "config.h"

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
\********************************************************************/
#ifndef __GNC_UI_H__
#define __GNC_UI_H__
#ifndef GNC_UI_H
#define GNC_UI_H
#include "config.h"

View File

@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __GNC_ACCOUNT_TREE_H__
#define __GNC_ACCOUNT_TREE_H__
#ifndef GNC_ACCOUNT_TREE_H
#define GNC_ACCOUNT_TREE_H
#include <gtk/gtkctree.h>
@ -167,4 +167,4 @@ void gnc_account_tree_set_selectable_filter (GNCAccountTree *tree,
}
#endif /* __cplusplus */
#endif /* __GNC_ACCOUNT_TREE_H__ */
#endif /* GNC_ACCOUNT_TREE_H */

View File

@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __DIALOG_ACCOUNT_H__
#define __DIALOG_ACCOUNT_H__
#ifndef DIALOG_ACCOUNT_H
#define DIALOG_ACCOUNT_H
#include "AccWindow.h"

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __OPTIONS_DIALOG_H__
#define __OPTIONS_DIALOG_H__
#ifndef OPTIONS_DIALOG_H
#define OPTIONS_DIALOG_H
#include <gnome.h>
#include <guile/gh.h>
@ -55,4 +55,4 @@ void gnc_show_options_dialog(void);
void gnc_build_options_dialog_contents(GNCOptionWin *win,
GNCOptionDB *odb);
#endif /* __OPTIONS_DIALOG_H__ */
#endif /* OPTIONS_DIALOG_H */

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __DIALOG_PROGRESS_H__
#define __DIALOG_PROGRESS_H__
#ifndef DIALOG_PROGRESS_H
#define DIALOG_PROGRESS_H
#include <glib.h>

View File

@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef __GNC_DIALOG_STYLE_SHEET_H__
#define __GNC_DIALOG_STYLE_SHEET_H__
#ifndef GNC_DIALOG_STYLE_SHEET_H
#define GNC_DIALOG_STYLE_SHEET_H
typedef struct _stylesheetdialog StyleSheetDialog;

View File

@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __DIALOG_TRANSFER_H__
#define __DIALOG_TRANSFER_H__
#ifndef DIALOG_TRANSFER_H
#define DIALOG_TRANSFER_H
#include "Account.h"
#include "account-tree.h"

View File

@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef __DIALOG_UTILS_H__
#define __DIALOG_UTILS_H__
#ifndef DIALOG_UTILS_H
#define DIALOG_UTILS_H
#include <glade/glade.h>
#include <gnome.h>

View File

@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef __DRUID_COMMODITY_H__
#define __DRUID_COMMODITY_H__
#ifndef DRUID_COMMODITY_H
#define DRUID_COMMODITY_H
#include <gnome.h>

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __DRUID_UTILS_H__
#define __DRUID_UTILS_H__
#ifndef DRUID_UTILS_H
#define DRUID_UTILS_H
#include <gnome.h>

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __EXTENSIONS_H__
#define __EXTENSIONS_H__
#ifndef EXTENSIONS_H
#define EXTENSIONS_H
#include <guile/gh.h>
#include <gnome.h>

View File

@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef __GNC_GPG_H__
#define __GNC_GPG_H__
#ifndef GNC_GPG_H
#define GNC_GPG_H
#include <glib.h>

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __GNC_HTML_GUPPI_H__
#define __GNC_HTML_GUPPI_H__
#ifndef GNC_HTML_GUPPI_H
#define GNC_HTML_GUPPI_H
#include <gnome.h>
#include "gnc-html.h"

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef __GNC_HTML_HISTORY_H__
#define __GNC_HTML_HISTORY_H__
#ifndef GNC_HTML_HISTORY_H
#define GNC_HTML_HISTORY_H
typedef struct _gnc_html_history_node gnc_html_history_node;
typedef struct _gnc_html_history gnc_html_history;

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __GNC_HTML_H__
#define __GNC_HTML_H__
#ifndef GNC_HTML_H
#define GNC_HTML_H
#include <glib.h>
#include <gtkhtml/gtkhtml.h>

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef __GNC_HTTP_H__
#define __GNC_HTTP_H__
#ifndef GNC_HTTP_H
#define GNC_HTTP_H
#include <glib.h>

View File

@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef __GNC_NETWORK_H__
#define __GNC_NETWORK_H__
#ifndef GNC_NETWORK_H
#define GNC_NETWORK_H
#include "config.h"

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __GNC_SPLASH_H__
#define __GNC_SPLASH_H__
#ifndef GNC_SPLASH_H
#define GNC_SPLASH_H
void gnc_show_splash_screen (void);

View File

@ -25,8 +25,8 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#ifndef __GTK_SMART_SELECT_H__
#define __GTK_SMART_SELECT_H__
#ifndef GTK_SMART_SELECT_H
#define GTK_SMART_SELECT_H
#include <gtk/gtkhbox.h>
#include <gtk/gtkitem.h>
@ -112,4 +112,4 @@ gint gtk_select_child_position (GtkSelect *list,
}
#endif /* __cplusplus */
#endif /* __GTK_SMART_SELECT_H__ */
#endif /* GTK_SMART_SELECT_H */

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __QUERY_USER_H__
#define __QUERY_USER_H__
#ifndef QUERY_USER_H
#define QUERY_USER_H
// +jsled: for line below.
#include "gnc-ui.h"

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __GNC_RECONCILE_LIST_H__
#define __GNC_RECONCILE_LIST_H__
#ifndef GNC_RECONCILE_LIST_H
#define GNC_RECONCILE_LIST_H
#include <gtk/gtkclist.h>
@ -114,4 +114,4 @@ void gnc_reconcile_list_set_sort_order(GNCReconcileList *list,
}
#endif /* __cplusplus */
#endif /* __RECONCILE_LIST_H__ */
#endif /* RECONCILE_LIST_H */

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef __TOP_LEVEL_H__
#define __TOP_LEVEL_H__
#ifndef TOP_LEVEL_H
#define TOP_LEVEL_H
#include <glib.h>

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef __WINDOW_ACCT_TREE_H__
#define __WINDOW_ACCT_TREE_H__
#ifndef WINDOW_ACCT_TREE_H
#define WINDOW_ACCT_TREE_H
#include "mainwindow-account-tree.h"
#include "window-main.h"

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __GNC_HELP_WINDOW_H__
#define __GNC_HELP_WINDOW_H__
#ifndef GNC_HELP_WINDOW_H
#define GNC_HELP_WINDOW_H
#include <gnome.h>

View File

@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef __WINDOW_MAIN_H__
#define __WINDOW_MAIN_H__
#ifndef WINDOW_MAIN_H
#define WINDOW_MAIN_H
#include <gnome.h>
#include <guile/gh.h>

View File

@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __WINDOW_RECONCILE_H__
#define __WINDOW_RECONCILE_H__
#ifndef WINDOW_RECONCILE_H
#define WINDOW_RECONCILE_H
#include "RecnWindow.h"

View File

@ -21,8 +21,8 @@
* *
\********************************************************************/
#ifndef __WINDOW_REGISTER_H__
#define __WINDOW_REGISTER_H__
#ifndef WINDOW_REGISTER_H
#define WINDOW_REGISTER_H
#include "RegWindow.h"
#include "MultiLedger.h"

View File

@ -20,8 +20,8 @@
* Boston, MA 02111-1307, USA gnu@gnu.org *
\********************************************************************/
#ifndef __GNC_REPORT_WINDOW_H__
#define __GNC_REPORT_WINDOW_H__
#ifndef GNC_REPORT_WINDOW_H
#define GNC_REPORT_WINDOW_H
#include <gnome.h>
#include <guile/gh.h>

View File

@ -19,8 +19,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
\********************************************************************/
#ifndef __XACC_MESSAGES_H__
#define __XACC_MESSAGES_H__
#ifndef XACC_MESSAGES_H
#define XACC_MESSAGES_H
#include "config.h"
@ -49,4 +49,4 @@
#undef N_
#define N_(String) (String)
#endif /* __XACC_MESSAGES_H__ */
#endif /* XACC_MESSAGES_H */

View File

@ -23,8 +23,8 @@
* *
\********************************************************************/
#ifndef __QUICKFILL_H__
#define __QUICKFILL_H__
#ifndef QUICKFILL_H
#define QUICKFILL_H
#include "config.h"
@ -64,4 +64,4 @@ void gnc_quickfill_insert (QuickFill *qf, const char *text,
void gnc_quickfill_insert_wc (QuickFill *qf, const GdkWChar *text,
QuickFillSort sort_code);
#endif /* __QUICKFILL_H__ */
#endif /* QUICKFILL_H */

Some files were not shown because too many files have changed in this diff Show More