here is my code:

Code:
int main(void)
{
    struct money {
	char category[30];
	char month[5];
	int day;
	char purchase_description[30];
	float purchase[30];
    };

    struct money money_log[MAX];
    struct money *p_money_log;  
    p_money_log = &money_log[0];
What I want to do is have the pointer to the structure passed to different functions, however I have not been able to find a suitable example of the syntax for the function call. Do I have to use the keyword struct in the argument list? Or can I just do something like:

Code:
 
void some_func(*p_money_log)
{
.......
}
I actually know this is incorrect - as there is no data type in the parameter list. Suggestions on how to pass the pointer are welcome. Thanks.

~/