typedef struct _mib_info{
int mib_vartype;
Bool mib_writable;
Bool mib_varleaf;
int (*mib_func)( struct _mib_info *, char );//pointer
char *mib_func_param;
struct _mib_info *mib_info_next;
}mib_info;
mib_info mib[] = {
{ 2, FALSE, NLEAF, snleaf, 0, 0}, //
} ;
/*--------------------------------------------
There is a mistake in GetID():indirect call: parameters do not fit within registers
----------------------------------------------*/
GetID(){
.........
if( ((*pmib_info->mib_info_next->mib_func)(pmib_info->mib_info_next , SOP_GETF ) )
.....
}
fromchina
0
Newbie Poster
Chainsaw
12
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.