Always enable -R option
[oweals/nmrpflash.git] / nmrpd.h
diff --git a/nmrpd.h b/nmrpd.h
index cf5138df8ebdf6e08ece73ffaf36212be7412261..841b4f3758ef82d78d0b1e1a3d4e69e6c03e0559 100644 (file)
--- a/nmrpd.h
+++ b/nmrpd.h
@@ -71,10 +71,10 @@ struct nmrpd_args {
        const char *mac;
        enum nmrp_op op;
        uint16_t port;
-       uint16_t region;
-       int force_root;
+       const char *region;
 };
 
+const char *leafname(const char *path);
 int tftp_put(struct nmrpd_args *args);
 bool tftp_is_valid_filename(const char *filename);