Skip to content

Commit

Permalink
Move version.h to top level
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Schmitt committed May 1, 2024
1 parent 9486c9e commit d7ee810
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 4 deletions.
45 changes: 45 additions & 0 deletions include/ofc/version.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/* Copyright (c) 2021 Connected Way, LLC. All rights reserved.
* Use of this source code is governed by a Creative Commons
* Attribution-NoDerivatives 4.0 International license that can be
* found in the LICENSE file.
*/
#if !defined(__VERSION_H__)
#define __VERSION_H__

/**
* \defgroup version Open Files Version
*
* These defines can be used to identify the version of the framework
* in use. These will be updated periodically.
*/

/** \{ */

/**
* Major version. Defines a major rewrite of the software.
*
* For historical purposes, the major versions so far have been:
*
* - 1.* Original CIFS stack based on a book by Chris Hertel (2000-2005)
* - 2.* Rewrite the framework core (2005-2006)
* - 3.* Rewrite of the CIFS stack (2006-2015)
* - 4.* Rebrand to ConnectedSMB, Add Android/iOS (2015-2021)
* - 5.* Rebrand to Open Files, Change build/packaging (2021-present)
*/
#define OFC_SHARE_MAJOR 5
/**
* Minor Version. Updated with new functionality.
*
* Currently we are at the initial release of OpenFiles 5
*/
#define OFC_SHARE_MINOR 0
/**
* Tag or patch level.
*
* May be a commit id, tag, or id.
*/
#define OFC_SHARE_TAG "2"

/** \} */

#endif
2 changes: 1 addition & 1 deletion of_core
2 changes: 1 addition & 1 deletion of_core_android
2 changes: 1 addition & 1 deletion of_smb
Submodule of_smb updated from 35239a to e8466a
2 changes: 1 addition & 1 deletion of_smb_server
Submodule of_smb_server updated from cf8ace to 0d715d

0 comments on commit d7ee810

Please sign in to comment.