AMISmtp.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*****************************************************************
  2. *****************************************************************
  3. *** **
  4. *** (C)Copyright 2005-2006, American Megatrends Inc. **
  5. *** **
  6. *** All Rights Reserved. **
  7. *** **
  8. *** 6145-F, Northbelt Parkway, Norcross, **
  9. *** **
  10. *** Georgia - 30071, USA. Phone-(770)-246-8600. **
  11. *** **
  12. *****************************************************************
  13. ******************************************************************
  14. *
  15. * AmiSmtp.h
  16. * AMI smtp commands Macros
  17. *
  18. * Author: shivaranjanic <shivaranjanic@amiindia.co.in>
  19. *
  20. ******************************************************************/
  21. #ifndef __AMISMTP_H__
  22. #define __AMISMTP_H__
  23. #include "Types.h"
  24. #include "smtpclient.h"
  25. extern int g_enablesmtpauth;
  26. extern int SetSMTPConfigParams (_NEAR_ INT8U* pReq, INT32U ReqLen, _NEAR_ INT8U* pRes, int BMCInst);
  27. extern int GetSMTPConfigParams (_NEAR_ INT8U* pReq, INT32U ReqLen, _NEAR_ INT8U* pRes, int BMCInst);
  28. extern int GetSMTP_PrimaryServer(SMTP_STRUCT *mail, INT8U SetSelector, INT8U EthIndex, int BMCInst);
  29. extern int GetSMTP_SecondaryServer(SMTP_STRUCT *mail, INT8U SetSelector, INT8U EthIndex, int BMCInst);
  30. #endif // __AMISMTP_H__