diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/utils/find/find.hxx | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/utils/find/find.hxx')
-rw-r--r-- | private/utils/find/find.hxx | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/private/utils/find/find.hxx b/private/utils/find/find.hxx new file mode 100644 index 000000000..c4868ff2b --- /dev/null +++ b/private/utils/find/find.hxx @@ -0,0 +1,101 @@ +/*++ + +Copyright (c) 1991 Microsoft Corporation + +Module Name: + + find.hxx + +Abstract: + + +Author: + + +Environment: + + ULIB, User Mode + +--*/ + +#if ! defined( _FIND_ ) + +#define _FIND_ + +#include "object.hxx" +#include "keyboard.hxx" +#include "program.hxx" + +DECLARE_CLASS( FIND ); + +class FIND : public PROGRAM { + + public: + + + DECLARE_CONSTRUCTOR( FIND ); + + NONVIRTUAL + BOOLEAN + Initialize ( + ); + + NONVIRTUAL + BOOLEAN + IsDos5CompatibleFileName( + IN PCPATH Path + ); + + NONVIRTUAL + VOID + Terminate( + ); + + + NONVIRTUAL + VOID + SearchFiles( + ); + + + private: + + NONVIRTUAL + ULONG + SearchStream( + PSTREAM StreamToSearch + ); + + + // + // TRUE = do a case-sensitive matching + // + BOOLEAN _CaseSensitive; + + // + // TRUE = output lines that contain the pattern + // + BOOLEAN _LinesContainingPattern; + + // + // TRUE = output the lines that match/don't match + // FALSE = count the lines that match/don't match + // + BOOLEAN _OutputLines; + + // + // TRUE = output line numbers if lines are being output + // + BOOLEAN _OutputLineNumbers; + + DSTRING _PatternString; + + MULTIPLE_PATH_ARGUMENT _PathArguments; + + STREAM_MESSAGE _Message; + ULONG _ErrorLevel; + +}; + + +#endif // _FIND_ |