00001 /********************************************************************\ 00002 * AccountP.h -- Account engine-private data structure * 00003 * Copyright (C) 1997 Robin D. Clark * 00004 * Copyright (C) 1997-2002, Linas Vepstas <linas@linas.org> * 00005 * * 00006 * This program is free software; you can redistribute it and/or * 00007 * modify it under the terms of the GNU General Public License as * 00008 * published by the Free Software Foundation; either version 2 of * 00009 * the License, or (at your option) any later version. * 00010 * * 00011 * This program is distributed in the hope that it will be useful, * 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00014 * GNU General Public License for more details. * 00015 * * 00016 * You should have received a copy of the GNU General Public License* 00017 * along with this program; if not, contact: * 00018 * * 00019 * Free Software Foundation Voice: +1-617-542-5942 * 00020 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * 00021 * Boston, MA 02110-1301, USA gnu@gnu.org * 00022 * * 00023 \********************************************************************/ 00024 00039 #ifndef XACC_ACCOUNT_P_H 00040 #define XACC_ACCOUNT_P_H 00041 00042 #include "Account.h" 00043 00053 struct account_s 00054 { 00055 QofInstance inst; 00056 }; 00057 00058 /* Set the account's GncGUID. This should only be done when reading 00059 * an account from a datafile, or some other external source. Never 00060 * call this on an existing account! */ 00061 void xaccAccountSetGUID (Account *account, const GncGUID *guid); 00062 00063 /* Register Accounts with the engine */ 00064 gboolean xaccAccountRegister (void); 00065 00066 #endif /* XACC_ACCOUNT_P_H */
1.5.7.1