00001 /* 00002 * libopensync - A synchronization framework 00003 * Copyright (C) 2006 NetNix Finland Ltd <netnix@netnix.fi> 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 * 00019 * Author: Daniel Friedrich <daniel.friedrich@opensync.org> 00020 * 00021 */ 00022 00023 #ifndef OPENSYNC_VERSION_INTERNALS_H_ 00024 #define OPENSYNC_VERSION_INTERNALS_H_ 00025 00026 00034 00035 00043 OSyncCapabilities *osync_version_find_capabilities(OSyncVersion *version, OSyncError **error); 00044 00052 OSyncList *osync_version_load_from_default_descriptions(OSyncError **error); 00053 00065 OSYNC_TEST_EXPORT OSyncList *osync_version_load_from_descriptions(OSyncError **error, const char *descriptiondir, const char *schemadir); 00066 00072 /* FIXME: char* to const char* */ 00073 char *osync_version_get_plugin(OSyncVersion *version); 00074 00080 char *osync_version_get_priority(OSyncVersion *version); 00081 00087 char *osync_version_get_vendor(OSyncVersion *version); 00088 00094 char *osync_version_get_modelversion(OSyncVersion *version); 00095 00101 char *osync_version_get_firmwareversion(OSyncVersion *version); 00102 00108 char *osync_version_get_softwareversion(OSyncVersion *version); 00109 00115 char *osync_version_get_hardwareversion(OSyncVersion *version); 00116 00122 char *osync_version_get_identifier(OSyncVersion *version); 00123 00133 OSYNC_TEST_EXPORT int osync_version_matches(OSyncVersion *pattern, OSyncVersion *version, OSyncError **error); 00136 #endif /* OPENSYNC_VERSION_INTERNALS_H_ */ 00137
1.5.7.1