summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-25 15:26:07 -0400
committermidipix <writeonce@midipix.org>2016-06-25 15:26:07 -0400
commitc5881dbd61aa7a8eafed13af436e7a988c0ffd5d (patch)
tree0776d7173d91b1f7d7ad342e02ad93e9045b89a2 /include
parent8e6b56c8d74cbc8f7521153413bf01156dd3ae2b (diff)
downloadsofort-c5881dbd61aa7a8eafed13af436e7a988c0ffd5d.tar.bz2
sofort-c5881dbd61aa7a8eafed13af436e7a988c0ffd5d.tar.xz
utility: added sfrt_main() as a public interface, refactored accordingly.
Diffstat (limited to 'include')
-rw-r--r--include/sofort/sofort.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sofort/sofort.h b/include/sofort/sofort.h
index 4bf4c1a..9d56acd 100644
--- a/include/sofort/sofort.h
+++ b/include/sofort/sofort.h
@@ -93,6 +93,7 @@ sfrt_api int sfrt_map_input (int fd, const char * path, int prot, struct sfrt_
sfrt_api int sfrt_unmap_input (struct sfrt_input *);
/* utility api */
+sfrt_api int sfrt_main (int, char **, char **);
sfrt_api int sfrt_output_dummy (const struct sfrt_common_ctx *, FILE *); /* dummy */
sfrt_api int sfrt_output_name (const struct sfrt_unit_ctx *, FILE *); /* dummy */
sfrt_api int sfrt_output_address (const struct sfrt_unit_ctx *, FILE *); /* dummy */