]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Convert ubik_Call(x) calls to ubik_x()
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 2 Apr 2011 13:43:26 +0000 (09:43 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 31 Mar 2016 08:15:18 +0000 (04:15 -0400)
Convert remaining ubik_Call(function, ..) users to ubik_function(..).

Reviewed-on: http://gerrit.openafs.org/4399
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit b3094a39b74c0c593f6dcac945ad5e4bbf155c2d)

Change-Id: Ida6d324e744904606c7cbfc073b60e0ed5733ed7
Reviewed-on: https://gerrit.openafs.org/11780
Reviewed-by: Jeffrey Altman <jaltman@auristor.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/bucoord/commands.c
src/uss/uss_kauth.c

index 531c3c57bd868646f3ce1b6bae9187844890e23a..f4589b5777d017a4bccaa3c9af3792f2e334deff 100644 (file)
@@ -244,7 +244,7 @@ EvalVolumeSet2(struct bc_config *aconfig,
            bulkentries.nbulkentries_val = 0;
            nsi = -1;
            tcode =
-               ubik_Call(VL_ListAttributesN2, uclient, 0, &attributes,
+               ubik_VL_ListAttributesN2(uclient, 0, &attributes,
                          tve->name, si, &nentries, &bulkentries, &nsi);
            if (tcode)
                ERROR(tcode);
@@ -461,8 +461,7 @@ EvalVolumeSet1(struct bc_config *aconfig,
      */
     for (index = 0; 1; index = next_index) {   /*w */
        memset(&entry, 0, sizeof(entry));
-       code = ubik_Call(VL_ListEntry,  /*Routine to invoke */
-                        uclient,       /*Ubik client structure */
+       code = ubik_VL_ListEntry(uclient,       /*Ubik client structure */
                         0,     /*Ubik flags */
                         index, /*Current index */
                         &count,        /*Ptr to working variable */
@@ -2289,7 +2288,7 @@ bc_dbVerifyCmd(struct cmd_syndesc *as, void *arock)
     detail = (as->parms[0].items ? 1 : 0);     /* print more details */
 
     code =
-       ubik_Call(BUDB_DbVerify, udbHandle.uh_client, 0, &status, &orphans,
+       ubik_BUDB_DbVerify(udbHandle.uh_client, 0, &status, &orphans,
                  &host);
 
     if (code) {
@@ -3104,7 +3103,7 @@ printRecentDumps(int ndumps)
        dl.budb_dumpList_val = 0;
 
        /* outline algorithm */
-       code = ubik_Call(BUDB_GetDumps, udbHandle.uh_client, 0, BUDB_MAJORVERSION, BUDB_OP_NPREVIOUS, "",       /* no name */
+       code = ubik_BUDB_GetDumps(udbHandle.uh_client, 0, BUDB_MAJORVERSION, BUDB_OP_NPREVIOUS, "",     /* no name */
                         0,     /* start */
                         ndumps,        /* end */
                         index, /* index */
index 1bf4f1e88acde75ecd2d8345a4788ce411d1c9a5..c077c9eda116cd616d78d8814a282a444b9a9b6b 100644 (file)
@@ -698,7 +698,7 @@ uss_kauth_SetFields(char *username, char *expirestring, char *reuse,
            if (!expiration)
                expiration = uss_Expires;
            code =
-               ubik_Call(KAM_SetFields, uconn_kauthP, 0, username, &instance,
+               ubik_KAM_SetFields(uconn_kauthP, 0, username, &instance,
                          flags, expiration, lifetime, maxAssociates,
                          was_spare, /* spare */ 0);
        } else