blob: 6aecf6c80342c3fdc34e5cd6cd728d315bf73581 (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#ifdef MULTICALL_BINARY
# define LIBSIMPLY_CONFIG_MULTICALL_BINARY
#endif
#include <libcontacts.h>
#include <libsimple.h>
#include <libsimple-arg.h>
#include <math.h>
#ifndef BUFSIZ
# define BUFSIZ 4096
#endif
/* common-birthday.c */
#if defined(__GNUC__) || defined(__clang__)
__attribute__((__pure__))
#endif
int get_age(struct libcontacts_birthday *bday, const struct tm *now);
void print_birthdate(struct libcontacts_birthday *bday, const struct tm *now);
void print_birthday(struct libcontacts_birthday *bday, const struct tm *now);
/* common-address.c */
int parse_coord(const char *s, double *lat, double *lat_min, double *lat_max, double *lon, double *lon_min, double *lon_max);
|