From c5881dbd61aa7a8eafed13af436e7a988c0ffd5d Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 25 Jun 2016 15:26:07 -0400 Subject: utility: added sfrt_main() as a public interface, refactored accordingly. --- include/sofort/sofort.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 */ -- cgit v1.2.3