]> andersk Git - moira.git/blame - lib/mr_ops.c
Initial revision
[moira.git] / lib / mr_ops.c
CommitLineData
de56407f 1/*
2 * $Source$
3 * $Author$
4 * $Header$
5 *
6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
7 *
8 * This routine is part of the client library. It handles
9 * creating a connection to the sms server.
10 */
11
12#ifndef lint
13static char *rcsid_sms_do_update_c = "$Header$";
14#endif lint
15
16#include "sms_private.h"
17
18int sms_do_update()
19{
20 int status;
21 sms_params param_st;
22 struct sms_params *params = NULL;
23 struct sms_params *reply = NULL;
24
25 CHECK_CONNECTED;
26 params = &param_st;
27 params->sms_procno = SMS_DO_UPDATE;
28 params->sms_argc = 0;
29 params->sms_argl = NULL;
30 params->sms_argv = NULL;
31
32 if ((status = sms_do_call(params, &reply)) == 0)
33 status = reply->sms_status;
34
35 sms_destroy_reply(reply);
36
37 return status;
38}
39
40/*
41 * Local Variables:
42 * mode: c
43 * c-indent-level: 4
44 * c-continued-statement-offset: 4
45 * c-brace-offset: -4
46 * c-argdecl-indent: 4
47 * c-label-offset: -4
48 * End:
49 */
This page took 0.096685 seconds and 5 git commands to generate.