Browse Source

Mark experimental pieces of the API as such

bel 8 years ago
parent
commit
717f27ab57
3 changed files with 4 additions and 3 deletions
  1. 2 1
      include/civetweb.h
  2. 1 1
      src/civetweb.c
  3. 1 1
      src/main.c

+ 2 - 1
include/civetweb.h

@@ -1098,12 +1098,13 @@ CIVETWEB_API unsigned mg_check_feature(unsigned feature);
 
 
 /* Check which features where set when civetweb has been compiled.
+   (Experimental: The API of this function is likely to change.)
    Parameters:
      To be defined - 0, 0 prints to stdout.
    Return:
      To be defined.
 */
-CIVETWEB_API int mg_print_system_info(int prm1, char *prm2);
+CIVETWEB_API int mg_print_system_info__experimental(int prm1, char *prm2);
 
 #ifdef __cplusplus
 }

+ 1 - 1
src/civetweb.c

@@ -14468,7 +14468,7 @@ mg_check_feature(unsigned feature)
 /* Print system information.
  * TODO: define parameters. */
 int
-mg_print_system_info(int prm1, char *prm2)
+mg_print_system_info__experimental(int prm1, char *prm2)
 {
 	char buf[256];
 	const char *version = mg_version();

+ 1 - 1
src/main.c

@@ -812,7 +812,7 @@ start_civetweb(int argc, char *argv[])
 		(void)MakeConsole();
 #endif
 		fprintf(stdout, "\n%s (%s)\n", g_server_base_name, g_server_name);
-		(void)mg_print_system_info(0, 0);
+		(void)mg_print_system_info__experimental(0, 0);
 
 		exit(EXIT_SUCCESS);
 	}