loadparm: Add helper function to fetch default lifetime policies
authorSimo Sorce <idra@samba.org>
Thu, 19 Apr 2012 15:16:03 +0000 (11:16 -0400)
committerSimo Sorce <idra@samba.org>
Thu, 19 Apr 2012 22:14:02 +0000 (18:14 -0400)
commit86910e15feaa490cf70f592c6e9af44f3db7e6f0
tree250f107372e22ad40f2ab12b22cefb506dbb65ce
parent74510b059e6852d1491a4cb6eaa9cc7c2ed61fbf
loadparm: Add helper function to fetch default lifetime policies

This use long to fetch time_t quantities, because there are architectures were
time_t is a signed long but long != int, So long is the proper way to deal with
it.
lib/param/param.h
lib/param/util.c