Blame libgupnp-av/time-utils.h
|
Packit |
712bc5 |
/*
|
|
Packit |
712bc5 |
* Copyright (C) 2012 Intel Corporation.
|
|
Packit |
712bc5 |
*
|
|
Packit |
712bc5 |
* Authors: Jens Georg <jensg@openismus.com>
|
|
Packit |
712bc5 |
*
|
|
Packit |
712bc5 |
* This library is free software; you can redistribute it and/or
|
|
Packit |
712bc5 |
* modify it under the terms of the GNU Library General Public
|
|
Packit |
712bc5 |
* License as published by the Free Software Foundation; either
|
|
Packit |
712bc5 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
712bc5 |
*
|
|
Packit |
712bc5 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
712bc5 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
712bc5 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
712bc5 |
* Library General Public License for more details.
|
|
Packit |
712bc5 |
*
|
|
Packit |
712bc5 |
* You should have received a copy of the GNU Library General Public
|
|
Packit |
712bc5 |
* License along with this library; if not, write to the
|
|
Packit |
712bc5 |
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Packit |
712bc5 |
* Boston, MA 02110-1301, USA.
|
|
Packit |
712bc5 |
*/
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
#ifndef __TIME_UTILS_H__
|
|
Packit |
712bc5 |
#define __TIME_UTILS_H__
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
G_BEGIN_DECLS
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
G_GNUC_INTERNAL long
|
|
Packit |
712bc5 |
seconds_from_time (const char *time_string);
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
G_GNUC_INTERNAL char *
|
|
Packit |
712bc5 |
seconds_to_time (long seconds);
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
G_END_DECLS
|
|
Packit |
712bc5 |
|
|
Packit |
712bc5 |
#endif /* __TIME_UTILS_H__ */
|