From 09cace2f7d8fdbfb047eba9a6396d79d59422443 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 May 2015 14:57:44 +0000 Subject: massive ansi cleaning for Scriver git-svn-id: http://svn.miranda-ng.org/main/trunk@13860 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/src/cmdlist.h | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'plugins/Scriver/src/cmdlist.h') diff --git a/plugins/Scriver/src/cmdlist.h b/plugins/Scriver/src/cmdlist.h index 7198be8437..249515ed10 100644 --- a/plugins/Scriver/src/cmdlist.h +++ b/plugins/Scriver/src/cmdlist.h @@ -20,23 +20,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef SRMM_CMDLIST_H #define SRMM_CMDLIST_H - -typedef struct _TCmdList { - struct _TCmdList *next; - struct _TCmdList *prev; +struct TCmdList +{ MCONTACT hContact; char *szCmd; - BOOL temporary; -} TCmdList; - -TCmdList *tcmdlist_append(TCmdList *list, const char *data, int maxSize, BOOL temporary); -TCmdList *tcmdlist_remove(TCmdList *list, TCmdList *n); -TCmdList *tcmdlist_remove_first(TCmdList *list); -TCmdList *tcmdlist_append2(TCmdList *list, MCONTACT hContact, const char *data); -TCmdList *tcmdlist_remove2(TCmdList *list, MCONTACT hContact); -TCmdList *tcmdlist_get2(TCmdList *list, MCONTACT hContact); + BOOL temporary; + TCmdList *next, *prev; +}; + +TCmdList* tcmdlist_append(TCmdList *list, char *data, int maxSize, BOOL temporary); +TCmdList* tcmdlist_remove(TCmdList *list, TCmdList *n); +TCmdList* tcmdlist_remove_first(TCmdList *list); +TCmdList* tcmdlist_last(TCmdList *list); + int tcmdlist_len(TCmdList *list); -TCmdList *tcmdlist_last(TCmdList *list); -void tcmdlist_free(TCmdList * list); +void tcmdlist_free(TCmdList *list); #endif -- cgit v1.2.3