d0976c9d524ee428053266757aa17c7ef1b66a12
chmalee
  Wed Feb 18 12:20:45 2026 -0800
Libify the api key set/revoke methods, refs #36517

diff --git src/hg/hgHubConnect/hgHubConnect.h src/hg/hgHubConnect/hgHubConnect.h
index d4b3a566a3f..f8984cca0f0 100644
--- src/hg/hgHubConnect/hgHubConnect.h
+++ src/hg/hgHubConnect/hgHubConnect.h
@@ -8,34 +8,34 @@
 
 #include "cart.h"
 #include "cartJson.h"
 
 //extern struct cart *cart;	/* This holds cgi and other variables between clicks. */
 
 // the variables for various track hub wizard methods:
 #define hgHubGetHubSpaceUIState "getHubSpaceUIState"
 #define hgHubDeleteFile "deleteFile"
 #define hgHubCreateHub "createHub"
 #define hgHubEditHub "editHub"
 #define hgHubMoveFile "moveFile"
 #define hgHubGenerateApiKey "generateApiKey"
 #define hgHubRevokeApiKey "revokeApiKey"
 
-void revokeApiKey(struct cartJson *cj, struct hash *paramHash);
+void cjRevokeApiKey(struct cartJson *cj, struct hash *paramHash);
 /* Remove any api keys for the user */
 
-void generateApiKey(struct cartJson *cj, struct hash *paramHash);
+void cjGenerateApiKey(struct cartJson *cj, struct hash *paramHash);
 /* Make a random (but not crypto-secure api key for use of hubtools to upload to hubspace */
 
 void doRemoveFile(struct cartJson *cj, struct hash *paramHash);
 /* Process the request to remove a file */
 
 void doMoveFile(struct cartJson *cj, struct hash *paramHash);
 /* Move a file to a new hub */
 
 void getHubSpaceUIState(struct cartJson *cj, struct hash *paramHash);
 /* Get all the data we need to make a users hubSpace UI table. The cartJson library
  * deals with printing the json */
 
 void doEditHub(struct cartJson *cj, struct hash *paramHash);
 /* Edit the hub.txt for a hub */