]>
Commit | Line | Data |
---|---|---|
7ac48069 | 1 | /* $Id$ |
6ff26f0b | 2 | * |
7ac48069 | 3 | * Copyright (C) 1987-1998 by the Massachusetts Institute of Technology |
6ff26f0b | 4 | * |
6ff26f0b | 5 | */ |
6 | ||
7 | #include <stdio.h> | |
8 | #include <gdb.h> | |
b3c011db | 9 | #include <moira.h> |
6ff26f0b | 10 | |
5b9c0816 | 11 | typedef struct mr_params { |
8f124d04 | 12 | uint32 mr_size; |
13 | uint32 mr_version_no; | |
6ff26f0b | 14 | union { |
15 | u_long procno; /* for call */ | |
16 | u_long status; /* for reply */ | |
17 | } u; | |
5b9c0816 | 18 | #define mr_procno u.procno |
19 | #define mr_status u.status | |
20 | int mr_argc; | |
21 | char **mr_argv; | |
22 | int *mr_argl; | |
23 | char *mr_flattened; | |
24 | int mr_state; | |
25 | } mr_params; | |
6ff26f0b | 26 | |
7ac48069 | 27 | int mr_start_send(OPERATION op, HALF_CONNECTION hcon, struct mr_params *arg); |
28 | int mr_start_recv(OPERATION op, HALF_CONNECTION hcon, struct mr_params **argp); | |
29 | void mr_destroy_reply(mr_params *reply); |