C struct question

From: Mike Redick (Telos@MAD.SCIENTIST.COM)
Date: 08/23/00


Ok, here's a question for all you competent C coders out there. Let's say
we have:


struct A
{

    //stuff

    struct B *Bstuff;

}

then we have a function something like this:

int SomeWierdFunction( struct B *incoming )
{
   //stuff...
}


Now my question... would there be any way to get a pointer to struct A
inside SomeWierdFunction?  Err... like the struct that actually contains
incoming?


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT