Re: declaring the global variable in net-snmp-5.4.2.1

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Global variables are declared in one file above any functions as:

  int my_variable;

and used in the other as:

  extern int my_variable;

-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.