Artifact Content
Not logged in

Artifact abbaf4898610fa63f008ab315c66b666d1b2fa12:

// Copyright 2015 limited.
// This SAFE Network Software is licensed to you under (1) the Commercial License,
// version 1.0 or later, or (2) The General Public License (GPL), version 3, depending on which
// licence you accepted on initial access to the Software (the "Licences").
// By contributing code to the SAFE Network Software, or to this project generally, you agree to be
// bound by the terms of the MaidSafe Contributor Agreement.  This, along with the Licenses can be
// found in the root directory of this project at LICENSE, COPYING and CONTRIBUTOR.
// Unless required by applicable law or agreed to in writing, the SAFE Network Software distributed
// under the GPL Licence is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.
// Please review the Licences for the specific language governing permissions and limitations
// relating to use of the SAFE Network Software.

/// Public and Private Id types
pub mod id;
/// Safe-Core Errors
pub mod errors;
/// Self-Authentication and Gateway Module
pub mod client;
/// Utility functions
pub mod utility;
/// Events filtered from set of Routing provided events, on which the Client Modules must
/// specifically act
pub mod translated_events;
/// Implements the Self Encryption storage trait
pub mod self_encryption_storage;
/// Implements the Self Encryption storage error trait
pub mod self_encryption_storage_error;
/// Helper functions to handle `ImmutableData` related operations
pub mod immut_data_operations;
/// Helper functions to handle `StructuredData` related operations
pub mod structured_data_operations;

pub use self::self_encryption_storage::SelfEncryptionStorage;
pub use self::self_encryption_storage_error::SelfEncryptionStorageError;

/// All Maidsafe tagging should positive-offset from this
pub const MAIDSAFE_TAG: u64 = 5483_000;
/// All `StructuredData` tagging should positive-offset from this if the operation needs to go
/// through this `safe_core` crate
pub const CLIENT_STRUCTURED_DATA_TAG: u64 = 15000;