#pragma once

/**
** \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.
** @{
*/

/** An SSB instance. */
typedef struct _tf_ssb_t tf_ssb_t;

/**
** Export an app to disk.
** @param ssb The SSB instance.
** @param key The app path in the form "/~user/appname".
*/
void tf_ssb_export(tf_ssb_t* ssb, const char* key);

/** @} */
