X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Finterfaces%2Ftimedated%2Ftimedated.h;h=5fb10e77139d4318c2b7890290b93e2b89b68708;hb=HEAD;hp=2a14d74f2862b15a4f3f5b0a67efa08ca510dc1a;hpb=a33bcdfac479063194c4051984ea0c5834319486;p=systembsd.git diff --git a/src/interfaces/timedated/timedated.h b/src/interfaces/timedated/timedated.h index 2a14d74..5fb10e7 100644 --- a/src/interfaces/timedated/timedated.h +++ b/src/interfaces/timedated/timedated.h @@ -1 +1,21 @@ -void timedated_mem_clean(); \ No newline at end of file +/* + * Copyright (c) 2014 Ian Sutton + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +void timedated_mem_clean(); +static struct timezone_checksum_pair parse_timezone_path(gchar **pair); +/*static gboolean build_lookup_table(); +static gchar *lookup_hash(gchar * hash); */ +static struct timespec *mktimespec(gint64 us);