timesyncd-manager.h revision 63463bf091949e0178b749016828ec400c106582
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering This file is part of systemd.
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering Copyright 2014 Kay Sievers, Lennart Poettering
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering systemd is free software; you can redistribute it and/or modify it
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering under the terms of the GNU Lesser General Public License as published by
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering the Free Software Foundation; either version 2.1 of the License, or
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering (at your option) any later version.
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering systemd is distributed in the hope that it will be useful, but
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering Lesser General Public License for more details.
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering You should have received a copy of the GNU Lesser General Public License
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering /* last sent packet */
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering /* poll timer */
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering /* history data */
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering /* last change */
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poettering /* watch for time changes */
a5344d2c3b0f14e954ce1c0ef905c5b44bc5bf0aLennart Poettering /* Retry connections */
18c7ed186be28800a2eeb37ad31c9c44480d3d9cLennart Poettering /* RTC runs in local time, leave it alone */
1ae464e09376853c52075ec4d8a6bfc4b4036d0cThomas Hindoe Paaboel Andersenint manager_new(Manager **ret);
1ae464e09376853c52075ec4d8a6bfc4b4036d0cThomas Hindoe Paaboel Andersenvoid manager_free(Manager *m);
fe6521272ba203ec8f0d5a94f0729960b3f90525Lennart PoetteringDEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free);
d0bbc21caa6e68693a47db60c93e99422bf2a858Lennart Poetteringvoid manager_set_server_name(Manager *m, ServerName *n);
7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49eLennart Poetteringvoid manager_set_server_address(Manager *m, ServerAddress *a);