Copying nf_info
Hello all,
I am writing a program that requires I copy nf_info from an entry to
another one. The general idea of the program is this:
struct some_struct {
struct nf_info* info;
};struct some_struct temp1;
struct some_struct temp2;
and in effect I want temp2->info=temp1->info. Can someone please help.
Tex Morgan
_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/
temp2->info = temp1->info, we will only copy the ADDRESS(NOT THE CONTENTS) of struct nf_info in the temp1. Instead you can use memcpy function to do that.
regards
-prasanth
Quoted 18 lines · Carl Morgan
Hello all,
I am writing a program that requires I copynf_infofrom an entry to
another one. The general idea of the program is this:struct some_struct { struct nf_info* info; };struct
some_structtemp1;
structsome_structtemp2;and in effect I want temp2->info=temp1->info. Can someone please help.
Tex Morgan
_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/
Signature · 1 line
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/