diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-27 14:57:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-27 14:57:44 +0000 |
commit | 09cace2f7d8fdbfb047eba9a6396d79d59422443 (patch) | |
tree | cca8e0062d7403b9c6a7a87849a50a4ccd89ff9a /plugins/Scriver/src/cmdlist.h | |
parent | d4feadd097aff1815404597953c3c59527b96598 (diff) |
massive ansi cleaning for Scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@13860 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/cmdlist.h')
-rw-r--r-- | plugins/Scriver/src/cmdlist.h | 27 |
1 files changed, 12 insertions, 15 deletions
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
|