wiki
libshare

Core Programming Interface

The libshare library's core functionality is the first layer of the API. This functionality is utilized by the memory, networking, filesytem, and system-level areas of the libshare library in order to provide additional layers of functionality. In turn, the libshare suite daemons and utility programs are based upon the library layer to provide general access and distribution of information. Developers utilize the libshare library, or an alternate such as the SEXE runtime library, in order to access and distribute additional information, and/or make use of the conveinence functions provided to perform common C routes such as dynamic memory management and simplified socket handling. The core of the libshare library is can be broken down into the follow sections:
  • checksum algorithm that computes a 64-bit number from a segment of data. CRC checksum verification. libshare_crc compound
  • codes returned from libshare API functions. Error and status codes. libshare_err compound
  • referencing application information Applicatin peer identification. libshare_peer compound
  • time functions with extended precision. System time and duration tracking. libshare_time compound
  • settings which control the behaviour of core libshare functionality. Library configuration settings. libshare_pref compound