C programming question ....
Ben Duncan
bns
Tue Nov 7 07:41:31 PST 2006
Given the following snippet of code in this EXACT sequence:
struct rlib;
typedef struct rlib rlib;
struct rlib_signal_functions {
gboolean (*signal_function)(rlib *, gpointer);
gpointer data;
};
struct rlib_metadata {
struct rlib_from_xml xml_formula;
struct rlib_value rval_formula;
struct rlib_pcode *formula_code;
};
struct rlib {
gint current_page_number;
gint current_line_number;
gint detail_line_count;
gint start_of_new_report;
... ... ... ... }
What is the authors intenet here with RLIB? Is declared as an
empty struct then typdef'd then ACTUALLY defined latter on?
Is this like declaring functions, except for structures?
Thanks ...
--
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor
More information about the Linux-users
mailing list