mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Also, use the mirall version for ocsync. Currently, the csync engine part and the Qt part have different UAs, and this makes debugging (i.e. reading access logs) difficult. On top, we haven't increased the ocsync version number in ages. So as a consequence, I think it would be the best to have ocsync and the rest share the same version number, and make them identify with the same user agent. To ease debugging for our side, we'll still append "(csyncoC)" for calls made by csync.
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/*
|
|
* libcsync -- a library to sync a directory with another
|
|
*
|
|
* Copyright (c) 2006-2012 by Andreas Schneider <asn@cryptomilk.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef _CSYNC_VERSION_H
|
|
#define _CSYNC_VERSION_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define CSYNC_STRINGIFY(s) CSYNC_TOSTRING(s)
|
|
#define CSYNC_TOSTRING(s) #s
|
|
|
|
#define MIRALL_VERSION @MIRALL_VERSION@
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // _CSYNC_VERSION_H
|