Difference between revisions of "Truxton C API"

From truxwiki.com
Jump to navigation Jump to search
Line 105: Line 105:
  
 
==File IO==
 
==File IO==
* [[truxton_file_open_id]] - Retrieves a particular file specified by the file's [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID..
+
* [[truxton_file_open_id]] - Retrieves a particular file specified by the file's [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID].
 
* [[truxton_file_open_md5]] - Retrieves the first file in Truxton whose contents have the given [https://en.wikipedia.org/wiki/MD5 MD5] hash.
 
* [[truxton_file_open_md5]] - Retrieves the first file in Truxton whose contents have the given [https://en.wikipedia.org/wiki/MD5 MD5] hash.
 
* [[truxton_file_close]] - Closes the contents. You will no longer be able to read from the file.
 
* [[truxton_file_close]] - Closes the contents. You will no longer be able to read from the file.

Revision as of 11:49, 16 June 2020

Truxton functionality is exposed to the C programming world as a DLL named TruxtonCAPI.dll in the C:\Program Files\Truxton\SDK folder. This DLL can be called from any programming language that has the ability to make operating system calls.

Philosophy

The API is considered to be "flat" in that only sixty-four bit integers and ASCII character strings are used in the interface. This was chosen to make it easy for other languages to interface to. The coding convention is all lower case names with underscores separating words. Truxton is a member of the east const posse.

API Groups

The API is broken down into the different areas of Truxton.

Initialization

Functions

ETL Functions

Child Files

A child file is one that you have created and need to save in Truxton.

Creating things related to this file:

File IO

File Record Fields

Create Objects from File

The following APIs are used to create objects with a file as their parent.

Debugging

Message

File Export

Artifacts

Event

EXIF (Camera Information)

File Type

Geographic Location

Relation

Website Visit

USB Device