libsf3
Loading...
Searching...
No Matches
Functions
sf3.h File Reference
#include "sf3_archive.h"
#include "sf3_audio.h"
#include "sf3_image.h"
#include "sf3_log.h"
#include "sf3_model.h"
#include "sf3_physics_model.h"
#include "sf3_table.h"
#include "sf3_text.h"
#include "sf3_vector_graphic.h"
Include dependency graph for sf3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SF3_EXPORT size_t sf3_size (const struct sf3_identifier *identifier)
 
SF3_EXPORT char * sf3_kind (int type)
 Returns a human-readable string description of the SF3 format_id.
 
SF3_EXPORT char * sf3_file_type (int type)
 Returns the standard file type suffix for the given SF3 format_id.
 
SF3_EXPORT char * sf3_mime_type (int type)
 Returns the standard media mime-type for the given SF3 format_id.
 

Function Documentation

◆ sf3_file_type()

SF3_EXPORT char * sf3_file_type ( int  type)

Returns the standard file type suffix for the given SF3 format_id.

Definition at line 67 of file sf3.h.

◆ sf3_kind()

SF3_EXPORT char * sf3_kind ( int  type)

Returns a human-readable string description of the SF3 format_id.

Definition at line 41 of file sf3.h.

◆ sf3_mime_type()

SF3_EXPORT char * sf3_mime_type ( int  type)

Returns the standard media mime-type for the given SF3 format_id.

Definition at line 93 of file sf3.h.

◆ sf3_size()

SF3_EXPORT size_t sf3_size ( const struct sf3_identifier identifier)

Computes the size of the sf3 file in bytes If the file does not have a valid format ID, 0 is returned.

Definition at line 15 of file sf3.h.