2021-08-22 15:34:28 -04:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-20 21:41:37 -05:00
|
|
|
/**
|
|
|
|
** \defgroup tf_export Tilde Friends Export
|
|
|
|
** Support for exporting Tilde Friends apps from the database to disk.
|
|
|
|
**
|
|
|
|
** I don't know why it has SSB in the name.
|
|
|
|
** @{
|
|
|
|
*/
|
|
|
|
|
2024-03-06 12:31:17 -05:00
|
|
|
/** An SSB instance. */
|
2021-08-22 15:34:28 -04:00
|
|
|
typedef struct _tf_ssb_t tf_ssb_t;
|
|
|
|
|
2024-03-06 12:31:17 -05:00
|
|
|
/**
|
|
|
|
** Export an app to disk.
|
|
|
|
** @param ssb The SSB instance.
|
|
|
|
** @param key The app path in the form "/~user/appname".
|
|
|
|
*/
|
2021-08-22 15:34:28 -04:00
|
|
|
void tf_ssb_export(tf_ssb_t* ssb, const char* key);
|
2024-02-20 21:41:37 -05:00
|
|
|
|
|
|
|
/** @} */
|