1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

rap: add rap_status to IDL.

Guenther
This commit is contained in:
Günther Deschner 2010-04-30 13:35:41 +02:00
parent 7cdd6a15af
commit 3bfceafed7
3 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,10 @@
]
interface rap
{
typedef [public,noprint] enum {
NERR_Success = 0
} rap_status;
const int RAP_WshareEnum = 0;
const int RAP_WshareGetInfo = 1;
const int RAP_WshareSetInfo = 2;

View File

@ -22,3 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_rap.h"
_PUBLIC_ void ndr_print_rap_status(struct ndr_print *ndr, const char *name, enum rap_status r)
{
ndr_print_WERROR(ndr, name, W_ERROR(r));
}

View File

@ -19,3 +19,4 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
_PUBLIC_ void ndr_print_rap_status(struct ndr_print *ndr, const char *name, enum rap_status r);