env.h 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
  3. * All rights reserved.
  4. * This component and the accompanying materials are made available
  5. * under the terms of the License "Eclipse Public License v1.0"
  6. * which accompanies this distribution, and is available
  7. * at the URL "http://www.eclipse.org/legal/epl-v10.html".
  8. *
  9. * Initial Contributors:
  10. * Nokia Corporation - initial contribution.
  11. *
  12. * Contributors:
  13. *
  14. * Description:
  15. *
  16. */
  17. #ifndef ENV_H_
  18. #define ENV_H_
  19. #include "../config.h"
  20. #define TALON_ATTEMPT_STRMAX 32
  21. #define RECIPETAG_STRMAX 2048
  22. #define STATUS_STRMAX 120
  23. #define TALONDELIMITER '|'
  24. #define VARNAMEMAX 100
  25. #define VARVALMAX 1024
  26. #define HOSTNAME_MAX 100
  27. #define TALON_MAXENV 4096
  28. void talon_setenv(char name[], char val[]);
  29. char * talon_getenv(char name[]);
  30. int talon_pathprepend(char value[]);
  31. int talon_pathappend(char value[]);
  32. #endif /* ENV_H_ */