* full list: list everything, including afsi, afhi, atts as clear text
*
* */
-int com_afs_ls(int fd, int argc, const char **argv)
+int com_afs_ls(int fd, int argc, char * const * const argv)
{
int i, ret;
unsigned flags = 0;
pos = AFTROW_PATH_OFFSET + path_len;
PARA_DEBUG_LOG("size: %zu, afhi starts at %d\n", size, pos);
- PARA_DEBUG_LOG("last afhi byte: %p, pos %d\n", buf + pos + afhi_size - 1,
+ PARA_DEBUG_LOG("last afhi byte: %p, pos %zu\n", buf + pos + afhi_size - 1,
pos + afhi_size - 1);
write_u16(buf + AFTROW_AFHI_OFFSET_POS, pos);
save_afhi(afhi, buf + pos);
return ret;
}
-int com_add(int fd, int argc, char **argv)
+int com_add(int fd, int argc, char * const * const argv)
{
int i, ret;
struct private_add_data pad = {.fd = fd, .flags = 0};
return 1;
}
-int com_touch(__a_unused int fd, int argc, const char **argv)
+int com_touch(__a_unused int fd, int argc, char * const * const argv)
{
struct com_touch_options cto = {
.num_played = -1,
*
* */
-int com_afs_rm(__a_unused int fd, int argc, const char **argv)
+int com_afs_rm(__a_unused int fd, int argc, char * const * const argv)
{
struct com_rm_options cro = {.flags = 0};
struct osl_object options = {.data = &cro, .size = sizeof(cro)};