Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
91e70cda
Commit
91e70cda
authored
Nov 15, 2010
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfs: make headers idempotent
ccanlint did this automatically.
parent
877f1dd5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
0 deletions
+10
-0
ccan/nfs/LICENSE
ccan/nfs/LICENSE
+1
-0
ccan/nfs/libnfs-private.h
ccan/nfs/libnfs-private.h
+3
-0
ccan/nfs/libnfs-raw.h
ccan/nfs/libnfs-raw.h
+3
-0
ccan/nfs/nfs.h
ccan/nfs/nfs.h
+3
-0
No files found.
ccan/nfs/LICENSE
0 → 120000
View file @
91e70cda
../../licenses/GPL-3
\ No newline at end of file
ccan/nfs/libnfs-private.h
View file @
91e70cda
#ifndef CCAN_NFS_LIBNFS_PRIVATE_H
#define CCAN_NFS_LIBNFS_PRIVATE_H
/*
/*
Copyright (C) by Ronnie Sahlberg <ronniesahlberg@gmail.com> 2010
Copyright (C) by Ronnie Sahlberg <ronniesahlberg@gmail.com> 2010
...
@@ -66,3 +68,4 @@ int rpc_get_pdu_size(char *buf);
...
@@ -66,3 +68,4 @@ int rpc_get_pdu_size(char *buf);
int
rpc_process_pdu
(
struct
rpc_context
*
rpc
,
char
*
buf
,
int
size
);
int
rpc_process_pdu
(
struct
rpc_context
*
rpc
,
char
*
buf
,
int
size
);
void
rpc_error_all_pdus
(
struct
rpc_context
*
rpc
,
char
*
error
);
void
rpc_error_all_pdus
(
struct
rpc_context
*
rpc
,
char
*
error
);
#endif
/* CCAN_NFS_LIBNFS_PRIVATE_H */
ccan/nfs/libnfs-raw.h
View file @
91e70cda
#ifndef CCAN_NFS_LIBNFS_RAW_H
#define CCAN_NFS_LIBNFS_RAW_H
/*
/*
Copyright (C) by Ronnie Sahlberg <ronniesahlberg@gmail.com> 2010
Copyright (C) by Ronnie Sahlberg <ronniesahlberg@gmail.com> 2010
...
@@ -557,3 +559,4 @@ int rpc_nfs_link_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *file,
...
@@ -557,3 +559,4 @@ int rpc_nfs_link_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *file,
*/
*/
int
rpc_nfsacl_null_async
(
struct
rpc_context
*
rpc
,
rpc_cb
cb
,
void
*
private_data
);
int
rpc_nfsacl_null_async
(
struct
rpc_context
*
rpc
,
rpc_cb
cb
,
void
*
private_data
);
#endif
/* CCAN_NFS_LIBNFS_RAW_H */
ccan/nfs/nfs.h
View file @
91e70cda
#ifndef CCAN_NFS_H
#define CCAN_NFS_H
/*
/*
Copyright (C) by Ronnie Sahlberg <ronniesahlberg@gmail.com> 2010
Copyright (C) by Ronnie Sahlberg <ronniesahlberg@gmail.com> 2010
...
@@ -911,3 +913,4 @@ int nfs_link_sync(struct nfs_context *nfs, const char *oldpath, const char *newp
...
@@ -911,3 +913,4 @@ int nfs_link_sync(struct nfs_context *nfs, const char *oldpath, const char *newp
//qqq replace later with lseek(cur, 0)
//qqq replace later with lseek(cur, 0)
nfs_off_t
nfs_get_current_offset
(
struct
nfsfh
*
nfsfh
);
nfs_off_t
nfs_get_current_offset
(
struct
nfsfh
*
nfsfh
);
#endif
/* CCAN_NFS_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment