Changed all the licence notices in all the files.
[pspp-builds.git] / src / case.h
index c7d7e9fbbc108fdade4f3a6af1f88554ddbfdb24..af5fc049c2ef68605328c14c1e4efcb3613c47c1 100644 (file)
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA. */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA. */
 
 #ifndef HEADER_CASE
 #define HEADER_CASE
 
 #include <stddef.h>
+#include "bool.h"
 #include "val.h"
 
 /* Opaque structure that represents a case.  Use accessor
@@ -76,6 +77,13 @@ CASE_INLINE const char *case_str (const struct ccase *, size_t idx);
 
 CASE_INLINE union value *case_data_rw (struct ccase *, size_t idx);
 
+struct variable;
+int case_compare (const struct ccase *, const struct ccase *,
+                  struct variable *const *, size_t var_cnt);
+int case_compare_2dict (const struct ccase *, const struct ccase *,
+                        struct variable *const *, struct variable *const *,
+                        size_t var_cnt);
+
 const union value *case_data_all (const struct ccase *);
 union value *case_data_all_rw (struct ccase *);