summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2007-01-24 04:38:19 +0000
committerGreg Beaver <cellog@php.net>2007-01-24 04:38:19 +0000
commitffcf9f5de4446b74dd4ab23c3068271369dd2953 (patch)
tree21dbc6727d2e61c0857ca14d7c391203a83e9d7c
parent23c17365f25adec2e83243986267e47249b0c505 (diff)
downloadphp-git-ffcf9f5de4446b74dd4ab23c3068271369dd2953.tar.gz
remove unused constants, note addition of docs in TODO
-rw-r--r--ext/phar/TODO2
-rwxr-xr-xext/phar/phar_internal.h9
2 files changed, 1 insertions, 10 deletions
diff --git a/ext/phar/TODO b/ext/phar/TODO
index e24ce132bb..d8c5f8c53e 100644
--- a/ext/phar/TODO
+++ b/ext/phar/TODO
@@ -10,7 +10,7 @@ Version 1.0.0
class PharFileInfo completely [Marcus]
* implement in-phar locking, so that a file that is opened for reading can't
have a handle opened for writing
- * docs on file format/manifest description
+ X docs on file format/manifest description
* docs on uses
X stream context for specifying compression of a file [Marcus]
* stream context for specifying meta-data
diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h
index b1e9d2c53d..c86d17707b 100755
--- a/ext/phar/phar_internal.h
+++ b/ext/phar/phar_internal.h
@@ -76,15 +76,6 @@
#define PHAR_SIG_USE PHAR_SIG_SHA1
-/* metadata type constants */
-
-#define PHAR_METADATA_FINISHED 0x00000000
-
-/* basic meta-data types */
-#define PHAR_METADATA_STRING 0x00000001
-#define PHAR_METADATA_INT 0x00000002
-#define PHAR_METADATA_BOOL 0x00000003
-
/* flags byte for each file adheres to these bitmasks.
All unused values are reserved */
#define PHAR_ENT_COMPRESSION_MASK 0x0000F000