hurdextras-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xmlfs netfs.c


From: Samuel Thibault
Subject: xmlfs netfs.c
Date: Tue, 3 Oct 2023 15:30:28 -0400 (EDT)

CVSROOT:        /sources/hurdextras
Module name:    xmlfs
Changes by:     Samuel Thibault <sthibaul>      23/10/03 15:30:28

Modified files:
        .              : netfs.c 

Log message:
        Fix build

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/xmlfs/netfs.c?cvsroot=hurdextras&r1=1.3&r2=1.4

Patches:
Index: netfs.c
===================================================================
RCS file: /sources/hurdextras/xmlfs/netfs.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- netfs.c     13 Sep 2020 14:56:25 -0000      1.3
+++ netfs.c     3 Oct 2023 19:30:28 -0000       1.4
@@ -75,7 +75,7 @@
    (user CRED) into a symlink with target NAME.  */
 error_t
 netfs_attempt_mksymlink (struct iouser *cred, struct node *np,
-                        char *name)
+                        const char *name)
 {
   return EROFS;
 }
@@ -144,7 +144,7 @@
    This call should unlock DIR no matter what.)  */
 error_t 
 netfs_attempt_lookup (struct iouser *user, struct node *dir,
-                              char *name, struct node **np)
+                              const char *name, struct node **np)
 {
   struct node *nd;
   error_t err;
@@ -213,7 +213,7 @@
 /* Delete NAME in DIR (which is locked) for USER.  */
 error_t
 netfs_attempt_unlink (struct iouser *user, struct node *dir,
-                              char *name)
+                              const char *name)
 {
   return EROFS;
 }
@@ -222,22 +222,22 @@
 of the specific nodes are locked.  */
 error_t 
 netfs_attempt_rename (struct iouser *user, struct node *fromdir,
-                              char *fromname, struct node *todir,
-                              char *toname, int excl)
+                              const char *fromname, struct node *todir,
+                              const char *toname, int excl)
 {
   return EROFS;
 }
 /* Attempt to create a new directory named NAME in DIR (which is locked)
    for USER with mode MODE. */
 error_t netfs_attempt_mkdir (struct iouser *user, struct node *dir,
-                             char *name, mode_t mode)
+                             const char *name, mode_t mode)
 {
   return EROFS;
 }
 /* Attempt to remove directory named NAME in DIR (which is locked) for
  USER.  */
 error_t netfs_attempt_rmdir (struct iouser *user,
-                             struct node *dir, char *name)
+                             struct node *dir, const char *name)
 {
   return EROFS;
 }
@@ -246,7 +246,7 @@
    neither DIR nor FILE are locked. If EXCL is set, do not delete 
    the target.  Return EEXIST if NAME is already found in DIR.  */
 error_t netfs_attempt_link (struct iouser *user, struct node *dir,
-                            struct node *file, char *name, int excl)
+                            struct node *file, const char *name, int excl)
 {
   return EROFS;
 }
@@ -268,7 +268,7 @@
 
 error_t 
 netfs_attempt_create_file (struct iouser *user, struct node *dir,
-                          char *name, mode_t mode, struct node **np)
+                          const char *name, mode_t mode, struct node **np)
 {
   return EROFS;
 }
@@ -367,7 +367,7 @@
    for up to *LEN bytes from DATA.  Set *LEN to the amount successfully written
    upon return.  */
 error_t netfs_attempt_write (struct iouser *cred, struct node *np,
-                            loff_t offset, size_t *len, void *data)
+                            loff_t offset, size_t *len, const void *data)
 {
   return EROFS;
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]