Go to the source code of this file.
Functions | |
| const char * | NamedOptType (int type) |
| bool | openPidfile (ofstream &pidfs, const QString &pidfile) |
| bool | setUser (const QString &username) |
| Drop permissions to the specified user. | |
| int | GetTermWidth (void) |
| returns terminal width, or 79 on error | |
Variables | |
| const int | kEnd = 0 |
| const int | kEmpty = 1 |
| const int | kOptOnly = 2 |
| const int | kOptVal = 3 |
| const int | kArg = 4 |
| const int | kPassthrough = 5 |
| const int | kInvalid = 6 |
| const char * NamedOptType | ( | int | type | ) |
Definition at line 98 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::Parse().
| bool openPidfile | ( | ofstream & | pidfs, | |
| const QString & | pidfile | |||
| ) |
Definition at line 2574 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::Daemonize().
| bool setUser | ( | const QString & | username | ) |
Drop permissions to the specified user.
Definition at line 2590 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::Daemonize().
| int GetTermWidth | ( | void | ) |
returns terminal width, or 79 on error
Definition at line 81 of file mythcommandlineparser.cpp.
Referenced by CommandLineArg::GetHelpString(), and CommandLineArg::GetLongHelpString().
| const int kEnd = 0 |
Definition at line 65 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::getOpt(), NamedOptType(), and MythCommandLineParser::Parse().
| const int kEmpty = 1 |
Definition at line 66 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::getOpt(), NamedOptType(), and MythCommandLineParser::Parse().
| const int kOptOnly = 2 |
Definition at line 67 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::getOpt(), NamedOptType(), and MythCommandLineParser::Parse().
| const int kOptVal = 3 |
Definition at line 68 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::getOpt(), NamedOptType(), and MythCommandLineParser::Parse().
| const int kArg = 4 |
Definition at line 69 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::getOpt(), NamedOptType(), and MythCommandLineParser::Parse().
| const int kPassthrough = 5 |
Definition at line 70 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::getOpt(), NamedOptType(), and MythCommandLineParser::Parse().
| const int kInvalid = 6 |
Definition at line 71 of file mythcommandlineparser.cpp.
Referenced by MythCommandLineParser::getOpt(), NamedOptType(), and MythCommandLineParser::Parse().
1.6.3