Hello,

is there any funtion that converts an u_char time[11] to a time_t-Struct?

When setting the time in my agent i used date_n_time to convert the
time_t-Structure to my u_char-Array. Then i used the snmp_pdu_add_variable
and send it to my agent.

Now, i would like to get the time back from the agent. How do i have to
convert vars->val.string to a time_t-Struct or a struct tm?

Thanks for your support,

Sven

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to