Tilde Friends
Tilde Friends Import

Typedefs

typedef struct _tf_ssb_t tf_ssb_t
 

Functions

void tf_ssb_import (tf_ssb_t *ssb, const char *user, const char *path)
 
void tf_ssb_import_from_zip (tf_ssb_t *ssb, const char *zip_path, const char *user, const char *path)
 

Detailed Description

Support for importing Tilde Friends apps from disk to the database.

I don't know why it has SSB in the name.

Typedef Documentation

◆ tf_ssb_t

typedef struct _tf_ssb_t tf_ssb_t

An SSB instance.

Function Documentation

◆ tf_ssb_import()

void tf_ssb_import ( tf_ssb_t ssb,
const char *  user,
const char *  path 
)

Import apps in a directory to a user's account.

Parameters
ssbThe SSB instance.
userThe username.
pathThe on-disk path of the apps.

◆ tf_ssb_import_from_zip()

void tf_ssb_import_from_zip ( tf_ssb_t ssb,
const char *  zip_path,
const char *  user,
const char *  path 
)

Import apps from a zip file to a user's account.

Parameters
ssbThe SSB instance.
zip_pathThe path to the zip file on disk.
userThe user into whose account the apps will be imported.
pathThe path in the zip to the apps.