From 6a42a1b4b03095961de243222e9ebe4dc9bb3122 Mon Sep 17 00:00:00 2001 From: "Michael D. Reiley" Date: Sun, 28 Nov 2010 00:18:20 -0800 Subject: [PATCH] Commit to repo.or.cz --- LICENCE => LICENSE | 7 ++----- README | 4 +--- stml.h | 4 ++-- 3 files changed, 5 insertions(+), 10 deletions(-) rename LICENCE => LICENSE (79%) mode change 100644 => 100755 stml.h diff --git a/LICENCE b/LICENSE similarity index 79% rename from LICENCE rename to LICENSE index b46ea35..3666966 100644 --- a/LICENCE +++ b/LICENSE @@ -1,8 +1,5 @@ -THIS LICENSE APPLIES TO NONCOMMERCIAL USE ONLY. -FOR COMMERCIAL USE, CONTACT THE OMEGA SOFTWARE DEVELOPMENT GROUP. - -Copyright (c) 2010, Michael D. Reiley (Seisatsu) -AND +Copyright (c) 2010: +Michael D. Reiley Omega Software Development Group Permission to use, copy, modify, and/or distribute this software for any diff --git a/README b/README index d5e14f1..6236615 100644 --- a/README +++ b/README @@ -6,6 +6,4 @@ The STML project includes STableD, or the Status Table Daemon. STableD uses sock STML was inspired by a scene in the Anime "Dennou Coil", where a main character used an english-like command language to control robots. -STML is released for NONCOMMERCIAL USE ONLY under the ISC License. - -For commercial use, contact the Omega Software Development Group. +STML is released under the ISC License. diff --git a/stml.h b/stml.h old mode 100644 new mode 100755 index aec189f..1c9633b --- a/stml.h +++ b/stml.h @@ -23,7 +23,7 @@ enum STML_STATE_TYPE { /*Types of states*/ typedef struct STML_STATE__ { char* id; /*Identifier of state*/ - int int_id; /*Callback ID of state; will always be unique*/ + unsigned long cbid; /*Callback ID of state; will always be unique*/ STML_STATE_TYPE type; /*Type of state*/ struct STML_STATE__** parent_data; /*State contains more states*/ bool* bool_data; /*State contains a boolean*/ @@ -53,7 +53,7 @@ typedef struct { /*This is the only struct that the end user needs to care about * -- 2) int : Callback ID for the modified state. See the manual. * -- 2) void* : Convenience variable that immediately returns the new state. */ -typedef void (*stml_callback) (STML_TABLE* table, int cbid, void* state); +typedef void (*stml_callback) (STML_TABLE* table, unsigned long cbid, void* state); /* stml_create_table * Create a new STML table. -- 2.11.4.GIT