If List is the name of your struct, and most is a pointer to the node you're looking for, it sounds like you're on the right track.
Then the function prototype will look something like this
Code:
List *nameofSearchFunction (parameterList);
and the end of the function will be
and in your main program after the List definition you will declare a List pointer and use it in the function call:
Code:
struct List {
...
};
int main()
{
List *ptr;
... // other code, blah blah blah
ptr = nameofSearchFunction(parameters);
... // blah blah blah
}