Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

88 lines
2.0 KiB

// ftpgenp1.h : header file
//
#define ENABLEPORTATTACKNAME "EnablePortAttack"
#define DEFAULTENABLEPORTATTACK FALSEVALUE
#define ALLOWGUESTACCESSNAME "AllowGuestAccess"
#define DEFAULTALLOWGUESTACCESS TRUEVALUE
#define ANNOTATEDIRECTORIESNAME "AnnotateDirectories"
#define DEFAULTANNOTATEDIRECTORIES FALSEVALUE
#define MSDOSDIROUTPUTNAME "MsdosDirOutput"
#define DEFAULTMSDOSDIROUTPUT TRUEVALUE
#define LOWERCASEFILESNAME "LowercaseFiles"
#define DEFAULTLOWERCASEFILES FALSEVALUE
enum FTP_NUM_REG_ENTRIES {
FTPPage_EnableSvcLoc,
FTPPage_LogAnonymous,
FTPPage_LogNonAnonymous,
FTPPage_EnablePortAttack,
FTPPage_AllowGuestAccess,
FTPPage_AnnotateDirectories,
FTPPage_MsdosDirOutput,
FTPPage_LowercaseFiles,
FTPPage_TotalNumRegEntries
};
/////////////////////////////////////////////////////////////////////////////
// CFTPGENP1 dialog
class CFTPGENP1 : public CGenPage
{
DECLARE_DYNCREATE(CFTPGENP1)
// Construction
public:
CFTPGENP1();
~CFTPGENP1();
// Dialog Data
//{{AFX_DATA(CFTPGENP1)
enum { IDD = IDD_FTPPAGE1 };
CButton m_cboxLowercaseFiles;
CButton m_cboxMsdosDirOutput;
CButton m_cboxEnPortAttack;
CButton m_cboxAnnotateDirectories;
CButton m_cboxAllowGuestAccess;
CButton m_cboxLogNonAnon;
CButton m_cboxLogAnon;
CButton m_cboxEnSvcLoc;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CFTPGENP1)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void SaveInfo(void);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFTPGENP1)
virtual BOOL OnInitDialog();
afx_msg void OnEnportattackdata1();
afx_msg void OnEnsvclocdata1();
afx_msg void OnLoganondata1();
afx_msg void OnLognonanondata1();
afx_msg void OnAllowguestaccessdata1();
afx_msg void OnAnnotatedirectoriesdata1();
afx_msg void OnLowercasefilesdata1();
afx_msg void OnMsdosdiroutput();
//}}AFX_MSG
NUM_REG_ENTRY m_binNumericRegistryEntries[FTPPage_TotalNumRegEntries];
DECLARE_MESSAGE_MAP()
};