aa580a1b88a6f7f08b069f7453f629eeede53b69 kent Wed Jan 15 18:00:32 2014 -0800 Making pmHubMultilineQuery return a slName list instead of a slRef list with string values. This saves about 8 freez() calls and is a bit tidier overall. diff --git src/parasol/inc/paraMessage.h src/parasol/inc/paraMessage.h index 447188e..7e5fa06 100644 --- src/parasol/inc/paraMessage.h +++ src/parasol/inc/paraMessage.h @@ -94,20 +94,20 @@ void pmFetchFile(char *host, char *sourceName, char *destName); /* Fetch small file. */ boolean pmSendStringWithRetries(struct paraMessage *pm, struct rudp *ru, char *string); /* Send out given message strng. Print warning message and return FALSE if * there is a problem. Try up to 5 times sleeping for 60 seconds in between. * This is an attempt to help automated processes. */ char *pmHubSendSimple(char *message, char *host); /* Send message to host, no response. */ char *pmHubSingleLineQuery(char *query, char *host); /* Send message to hub and get single line response. * This should be freeMem'd when done. */ -struct slRef *pmHubMultilineQuery(char *query, char *host); +struct slName *pmHubMultilineQuery(char *query, char *host); /* Send a command with a multiline response to hub, * and return response as a list of strings. */ #endif /* PARAMESSAGE_H */