PQContext_s Struct Reference
[Using QOF as a framework around pilot-link]

#include <pilot-qof.h>


Detailed Description

The pilot-qof context struct, extends qof_main_context.

Definition at line 319 of file pilot-qof.h.

Data Fields

QofMainContext qof
gint sd
gint db
pi_buffer_t * pi_buf
pi_buffer_t * app_buf
CategoryAppInfo_t * pi_cat
PQExpensePref pi_exp_pref
guchar pref_buf [0xffff]
gchar * port
gint quiet
gint ent_category
const gchar * cat_name
gchar names [16][16]
gboolean invoice_city
gboolean invoice_vendor


Field Documentation

QofMainContext PQContext_s::qof

Wrap the QOF context in our own.

Definition at line 322 of file pilot-qof.h.

Referenced by check_invoice_handler(), find_invoice_contact(), main(), pilot_app_unpack(), pilot_database_open(), pilot_error(), pilot_qof_free(), pilot_qof_pack(), pilot_qof_unpack(), pq_invoice_xmlfile(), qof_cmd_hotsync(), and write_ent_cb().

gint PQContext_s::sd

libpisock connection handle.

Definition at line 324 of file pilot-qof.h.

Referenced by pilot_database_open(), pilot_error(), pilot_qof_pack(), and qof_cmd_hotsync().

gint PQContext_s::db

libpisock database handle.

Definition at line 326 of file pilot-qof.h.

Referenced by pilot_database_open(), and pilot_qof_pack().

pi_buffer_t* PQContext_s::pi_buf

Record buffer from Palm database (from pilot-link 0.12).

Definition at line 328 of file pilot-qof.h.

Referenced by address_pack(), address_unpack(), datebook_pack(), datebook_unpack(), exp_unpack(), pilot_database_open(), pilot_qof_pack(), todo_pack(), todo_unpack(), and write_ent_cb().

pi_buffer_t* PQContext_s::app_buf

Application information buffer from Palm.

Definition at line 330 of file pilot-qof.h.

Referenced by addr_appinfo_unpack(), datebook_appinfo_unpack(), exp_appinfo_unpack(), pilot_database_open(), and todo_appinfo_unpack().

CategoryAppInfo_t* PQContext_s::pi_cat

category info from the Palm for this database.

Definition at line 332 of file pilot-qof.h.

Referenced by addr_appinfo_unpack(), address_unpack(), datebook_appinfo_unpack(), exp_appinfo_unpack(), and todo_appinfo_unpack().

PQExpensePref PQContext_s::pi_exp_pref

Expense preferences include the currency data, unit of distance and current category.

Definition at line 335 of file pilot-qof.h.

guchar PQContext_s::pref_buf[0xffff]

Preferences buffer. libpisock requires a real buffer here, using a pi_buffer_t* fails.

Definition at line 338 of file pilot-qof.h.

Referenced by pilot_database_open().

gchar* PQContext_s::port

dummy copy of popt variable for 0.11.8

Definition at line 340 of file pilot-qof.h.

Referenced by main(), and qof_cmd_hotsync().

gint PQContext_s::quiet

bridging variable.

Definition at line 342 of file pilot-qof.h.

Referenced by main(), and qof_cmd_hotsync().

gint PQContext_s::ent_category

The index of the category in pi_cat.

Definition at line 344 of file pilot-qof.h.

Referenced by address_unpack(), datebook_unpack(), exp_unpack(), pilot_database_open(), pilot_qof_pack(), and todo_unpack().

const gchar* PQContext_s::cat_name

Real name of the selected category.

Definition at line 346 of file pilot-qof.h.

gchar PQContext_s::names[16][16]

Full list of category names.

Definition at line 348 of file pilot-qof.h.

Referenced by addr_appinfo_unpack(), address_unpack(), datebook_appinfo_unpack(), datebook_unpack(), exp_appinfo_unpack(), exp_unpack(), pilot_qof_create(), pilot_qof_free(), pq_findcategory(), todo_appinfo_unpack(), and todo_unpack().

gboolean PQContext_s::invoice_city

Shorthand to relate a contact to a timed event using expense_city as lookup index

Definition at line 351 of file pilot-qof.h.

Referenced by find_invoice_contact(), main(), and qof_cmd_hotsync().

gboolean PQContext_s::invoice_vendor

Shorthand to relate a contact to a timed event using expense_vendor as lookup index

Definition at line 354 of file pilot-qof.h.

Referenced by find_invoice_contact(), main(), and qof_cmd_hotsync().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 6 00:08:10 2007 for pilot-qof by  doxygen 1.5.1