You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: rls_v2/README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,17 +3,27 @@
3
3
## Example : Passing Complex Data Structures (Version 2)
4
4
from https://docs.oracle.com/cd/E19683-01/816-1435/rpcgenpguide-21470/index.html
5
5
6
-
#### Hide ONCRPC specific system calls (clnt_xxx(), readdir_1()) from the client program.
6
+
## 1. API
7
+
8
+
`namelist read_dir(char *);` for local only
9
+
`namelist READ_DIR( HANDLER *, char * )` for local & remote
10
+
11
+
## 2. Files
12
+
13
+
Hide ONCRPC specific system calls (clnt_xxx(), readdir_1()) from `rls.c`.
7
14
8
15
-`dir_local.c/h` : `read_dir()` local function to read the directory
9
-
-**Server** :`dir_proc.c` executes a local funtion `read_dir()` defined in `dir_local.h`
10
-
-**Client** : `READ_DIR():dir_common.c` executes a local function `read_dir():dir_local.c` or communicate with RPC server `readdir_1()` depending on Handler.
16
+
-**Server** : `dir_proc.c` executes a local funtion `read_dir()` defined in `dir_local.h`
17
+
-**Client** : `READ_DIR():dir_common.c` executes a local function `read_dir():dir_local.c` or communicate with RPC server `readdir_1()` depending on Handler's `CLINET`.
0 commit comments