~yolanda.robla/ubuntu/saucy/freeradius/dep-8-tests

« back to all changes in this revision

Viewing changes to src/include/missing.h

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2009-11-23 03:57:37 UTC
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20091123035737-snauioz5r9tf8sdr
Tags: upstream-2.1.7+dfsg
ImportĀ upstreamĀ versionĀ 2.1.7+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * missing.h    Replacements for functions that are or can be
6
6
 *              missing on some platforms.
7
7
 *
8
 
 * Version:     $Id: missing.h,v 1.42 2008/02/16 09:20:06 aland Exp $
 
8
 * Version:     $Id$
9
9
 *
10
10
 */
11
11
 
12
12
#include <freeradius-devel/ident.h>
13
 
RCSIDH(missing_h, "$Id: missing.h,v 1.42 2008/02/16 09:20:06 aland Exp $")
 
13
RCSIDH(missing_h, "$Id$")
14
14
 
15
15
#include <freeradius-devel/autoconf.h>
16
16
 
395
395
# define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
396
396
#endif
397
397
 
 
398
void timeval2ntp(const struct timeval *tv, uint8_t *ntp);
 
399
void ntp2timeval(struct timeval *tv, const char *ntp);
 
400
 
398
401
#endif /* _FR_MISSING_H */