home · contact · privacy
Also built checks for server config files, and accordingly reformatted those.
[plomrogue] / src / client / misc.h
index 5fb3e71e3e45aebd4bfb54fbd999cf79fc097978..928d8db86e70193cb01fb93434319cc7e9de7e2d 100644 (file)
@@ -7,6 +7,9 @@
 #ifndef MISC_H
 #define MISC_H
 
+#include <stddef.h> /* size_t */
+#include <stdint.h> /* uint32_t */
+
 
 
 /* Parses command line argument -i into client configuration. */
@@ -26,6 +29,12 @@ extern void reload_interface_conf();
 /* Move world.inventory_sel up ("dir"="u") or down (else) as far as possible. */
 extern void nav_inventory(char dir);
 
+/* Append to array pointed to by "ptr_old_array" of "old_n" elements of
+ * "region_size" "new region".
+ */
+extern void array_append(uint32_t old_n, size_t region_size, void * new_region,
+                         void ** ptr_old_array);
+
 
 
 #endif