Skip to content

Commit

Permalink
Changed the tagging method.
Browse files Browse the repository at this point in the history
imported from: dustin@spy.net--projects/ibutton--head--1.0--patch-4
  • Loading branch information
Dustin Sallings committed Nov 11, 2003
1 parent 2f15459 commit c46c85b
Show file tree
Hide file tree
Showing 44 changed files with 148 additions and 5 deletions.
4 changes: 4 additions & 0 deletions 1920.c
Expand Up @@ -80,3 +80,7 @@ int main(int argc, char **argv)

exit(0);
}

/*
* arch-tag: 1FF35BA8-13E5-11D8-A40F-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions 1921dump.c
Expand Up @@ -181,3 +181,7 @@ int main(int argc, char **argv)

exit(0);
}

/*
* arch-tag: 1FF99273-13E5-11D8-BBB6-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions 1921mission.c
Expand Up @@ -127,3 +127,7 @@ int main(int argc, char **argv)

exit(0);
}

/*
* arch-tag: 1FFB7570-13E5-11D8-B9F6-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions 2406.c
Expand Up @@ -54,3 +54,7 @@ int main(int argc, char **argv)

exit(0);
}

/*
* arch-tag: 200018B3-13E5-11D8-9272-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions 2438.c
Expand Up @@ -48,3 +48,7 @@ int main(int argc, char **argv)

exit(0);
}

/*
* arch-tag: 2006DC74-13E5-11D8-9B02-000393CFE6B8
*/
1 change: 1 addition & 0 deletions Makefile.in
Expand Up @@ -3,6 +3,7 @@
# Copyright (c) 1999 Dustin Sallings <dustin@spy.net>
#
# $Id: Makefile.in,v 1.23 2002/01/29 07:48:42 dustin Exp $
# arch-tag: 5D00801E-13E5-11D8-B7FE-000393CFE6B8

SHELL=/bin/sh
AR=@AR@
Expand Down
2 changes: 0 additions & 2 deletions aclocal.m4
@@ -1,7 +1,5 @@
dnl Copyright (c) 2002 Dustin Sallings <dustin@spy.net>
dnl
dnl $id$

dnl Let's see if the threads actually work
AC_DEFUN(SPY_PTHREAD, [
AC_CACHE_CHECK([for working pthreads], auth_cv_working_pthread, [
Expand Down
3 changes: 0 additions & 3 deletions arch.config

This file was deleted.

1 change: 1 addition & 0 deletions collection/Makefile.in
@@ -1,3 +1,4 @@
# arch-tag: C3C33271-13E5-11D8-B15A-000393CFE6B8
SHELL=/bin/sh
AR=@AR@
RANLIB=@RANLIB@
Expand Down
4 changes: 4 additions & 0 deletions collection/collection.h
Expand Up @@ -32,3 +32,7 @@ extern int col_verbose;
#define verboseprint(a, b) if(col_verbose>=a) { printf b; }

#endif /* COLLECTION_H */

/*
* arch-tag: BBEE73A9-13E5-11D8-9CB1-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions collection/collector.c
Expand Up @@ -316,3 +316,7 @@ int main(int argc, char *argv[])
mainloop();
return(0);
}

/*
* arch-tag: BBD6CC16-13E5-11D8-8785-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions collection/data.c
Expand Up @@ -271,3 +271,7 @@ int main(int argc, char **argv)
disposeOfLogEntry(entry);
}
#endif

/*
* arch-tag: BBE0839E-13E5-11D8-A265-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions collection/data.h
Expand Up @@ -67,3 +67,7 @@ struct data_queue *appendToRRDQueue(struct data_queue *dl, const char *datum);
void disposeOfRRDQueue(struct data_queue *dl);

#endif

/*
* arch-tag: BBF74734-13E5-11D8-9F04-000393CFE6B8
*/
1 change: 1 addition & 0 deletions collection/sensors.sql
@@ -1,6 +1,7 @@
-- Copyright (c) 1999 Dustin Sallings <dustin@spy.net>
--
-- $Id: sensors.sql,v 1.2 2002/01/26 23:23:55 dustin Exp $
-- arch-tag: CDF89BEC-13E5-11D8-B988-000393CFE6B8

-- Different types of sensors
create table sensor_types (
Expand Down
4 changes: 4 additions & 0 deletions collection/storage-pgsql.c
Expand Up @@ -129,3 +129,7 @@ saveDataPostgres(struct log_datum *p)
}
}
#endif /* HAVE_LIBPQ_FE_H */

/*
* arch-tag: BBE5FB3C-13E5-11D8-BC82-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions collection/storage-pgsql.h
Expand Up @@ -22,3 +22,7 @@ void saveDataPostgres(struct log_datum *p);
void initPostgresStore();

#endif /* STORAGE_PGSQL_H */

/*
* arch-tag: BBFBC21E-13E5-11D8-969A-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions collection/storage-rrd.c
Expand Up @@ -163,3 +163,7 @@ void saveDataRRD(struct log_datum *p)
freeList(args);
}
#endif /* HAVE_RRD_H */

/*
* arch-tag: BBEA7658-13E5-11D8-900C-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions collection/storage-rrd.h
Expand Up @@ -10,3 +10,7 @@
void saveDataRRD(struct log_datum *p);

#endif /* STORAGE_RRD_H */

/*
* arch-tag: BC002423-13E5-11D8-8599-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions com.c
Expand Up @@ -194,3 +194,7 @@ void _com_cbreak(MLan *mlan)
tcsendbreak(mlan->fd, 1);
/* mlan_debug(mlan, 2, ("Returning from break\n")); */
}

/*
* arch-tag: 200A752B-13E5-11D8-BF6D-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions commands.h
Expand Up @@ -45,3 +45,7 @@
#define DS2438READ_SCRATCHPAD 0xbe

#endif /* COMMANDS_H */

/*
* arch-tag: 200C3FEE-13E5-11D8-9303-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions devices.c
Expand Up @@ -133,3 +133,7 @@ get_sample(MLan *mlan, uchar *serial)
}
return(ret);
}

/*
* arch-tag: 200E12F8-13E5-11D8-AFE6-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions ds1920.c
Expand Up @@ -202,3 +202,7 @@ getDS1920Data(MLan *mlan, uchar *serial)
data.valid=TRUE;
return(data);
}

/*
* arch-tag: 2011D768-13E5-11D8-B2D7-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions ds1920.h
Expand Up @@ -28,3 +28,7 @@ int setDS1920Params(MLan *mlan, uchar *serial, struct ds1920_data d);
#define ds1920temp_convert_in(a) ( (int) (((a)+0.25)*2) )

#endif /* DS1920_H */

/*
* arch-tag: 201AEEC1-13E5-11D8-A823-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions ds1921.c
Expand Up @@ -596,3 +596,7 @@ struct ds1921_data getDS1921Data(MLan *mlan, uchar *serial)
finished:
return(data);
}

/*
* arch-tag: 201EF4BC-13E5-11D8-BA49-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions ds1921.h
Expand Up @@ -126,3 +126,7 @@ int ds1921_mission(MLan *mlan, uchar *serial, struct ds1921_data data);
#define ds1921temp_convert_in(a) ( ((a)*2) + 80)

#endif /* DS1921_H */

/*
* arch-tag: 20235CA4-13E5-11D8-90C8-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions ds2406.c
Expand Up @@ -147,3 +147,7 @@ int setDS2406Switch(MLan *mlan, uchar *serial, int switchPort, int onoff)
rv=setDS2406Status(mlan, serial, status);
return(rv);
}

/*
* arch-tag: 2027C0E2-13E5-11D8-8AA9-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions ds2406.h
Expand Up @@ -21,3 +21,7 @@ int setDS2406Status(MLan *mlan, uchar *serial, int value);
int setDS2406Switch(MLan *mlan, uchar *serial, int switchPort, int onoff);

#endif /* DS2406_H */

/*
* arch-tag: 202E9470-13E5-11D8-9E67-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions ds2438.c
Expand Up @@ -272,3 +272,7 @@ struct ds2438_data getDS2438Data(MLan *mlan, uchar *serial)

return(data);
}

/*
* arch-tag: 20329D8C-13E5-11D8-B85B-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions ds2438.h
Expand Up @@ -20,3 +20,7 @@ struct ds2438_data {
struct ds2438_data getDS2438Data(MLan *mlan, uchar *serial);

#endif /* DS2438_H */

/*
* arch-tag: 203729CB-13E5-11D8-921A-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions ds2480.c
Expand Up @@ -109,3 +109,7 @@ int _ds2480_changebaud(MLan *mlan, uchar newbaud)

return(mlan->baud);
}

/*
* arch-tag: 203B61AE-13E5-11D8-BD00-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions lookup.c
Expand Up @@ -47,3 +47,7 @@ int main(int argc, char **argv)
mlan->destroy(mlan);
return(0);
}

/*
* arch-tag: 204206D1-13E5-11D8-91CF-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions mlan.c
Expand Up @@ -892,3 +892,7 @@ mlan_init(char *port, int baud_rate)

return (mlan);
}

/*
* arch-tag: 20466FD1-13E5-11D8-BE72-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions mlan.h
Expand Up @@ -303,3 +303,7 @@ int findGMTOffset(void);


#endif /* MLAN_H */

/*
* arch-tag: 204AD731-13E5-11D8-A732-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions mlanscm.c
Expand Up @@ -401,3 +401,7 @@ int main(int argc, char **argv)
gh_enter(argc, argv, inner_main);
return(0);
}

/*
* arch-tag: 204F3926-13E5-11D8-92C5-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions sample_devices.c
Expand Up @@ -615,3 +615,7 @@ main(int argc, char **argv)
}
/* NOT REACHED */
}

/*
* arch-tag: 205805D4-13E5-11D8-ADF3-000393CFE6B8
*/
2 changes: 2 additions & 0 deletions scheme/1920.scm
Expand Up @@ -2,6 +2,8 @@
!#
; Copyright (c) 2001 Dustin Sallings <dustin@spy.net>
; $Id: 1920.scm,v 1.3 2001/12/11 08:26:07 dustin Exp $
; arch-tag: EA4E2E69-13E5-11D8-ADF0-000393CFE6B8

(define ds1920-convert-temperature #x44)
(define ds1920-read-scratchpad #xbe)
(define ds1920-write-scratchpad #x4e)
Expand Down
1 change: 1 addition & 0 deletions scheme/1921.scm
Expand Up @@ -2,6 +2,7 @@
!#
; Copyright (c) 2001 Dustin Sallings <dustin@spy.net>
; $Id: 1921.scm,v 1.2 2002/01/30 09:22:12 dustin Exp $
; arch-tag: F78710DA-13E5-11D8-BEC7-000393CFE6B8

; Temperature conversion for 1921's
(define (ds1921-convert-out x)
Expand Down
1 change: 1 addition & 0 deletions scheme/alldev.scm
@@ -1,6 +1,7 @@
; (define (l) (load "alldev.scm"))
; Copyright (c) 2001 Dustin Sallings <dustin@spy.net>
; $Id: alldev.scm,v 1.2 2001/12/10 08:23:16 dustin Exp $
; arch-tag: FD6D3437-13E5-11D8-AB58-000393CFE6B8
(load "1920.scm")

(define ds-serial-table '(
Expand Down
4 changes: 4 additions & 0 deletions search.c
Expand Up @@ -78,3 +78,7 @@ int main(int argc, char **argv)

return(0);
}

/*
* arch-tag: 205CDD06-13E5-11D8-A7E6-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions slew.c
Expand Up @@ -55,3 +55,7 @@ int main(int argc, char **argv)
mlan->destroy(mlan);
return(0);
}

/*
* arch-tag: 20612400-13E5-11D8-9FC5-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions storage.c
Expand Up @@ -333,3 +333,7 @@ int main(int argc, char **argv)

exit(0);
}

/*
* arch-tag: 2068E1F8-13E5-11D8-A856-000393CFE6B8
*/
1 change: 1 addition & 0 deletions temp_convert.bc
@@ -1,6 +1,7 @@
# Copyright (c) 2002 Dustin Sallings <dustin@spy.net>
#
# $Id: temp_convert.bc,v 1.1 2002/01/29 08:05:34 dustin Exp $
# arch-tag: 670F37E3-13E5-11D8-8417-000393CFE6B8
#
# For those who need conversions, here are bc functions.

Expand Down
4 changes: 4 additions & 0 deletions utility.c
Expand Up @@ -26,3 +26,7 @@ snprintf(char *s, size_t n, const char *format,...)
assert(strlen(s)<n);
}
#endif

/*
* arch-tag: 206E5026-13E5-11D8-ABCC-000393CFE6B8
*/
4 changes: 4 additions & 0 deletions utility.h
Expand Up @@ -23,3 +23,7 @@ int snprintf(char *s, size_t n, const char *format, ...);
#endif

#endif /* UTILITY_H */

/*
* arch-tag: 20729E67-13E5-11D8-9BD6-000393CFE6B8
*/

0 comments on commit c46c85b

Please sign in to comment.