view common/errorcodes.h @ 125:24fb90ef8f6a

Fix install_certificates_win. Access the correct store / check errors and return them accordingly
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 24 Mar 2014 10:13:13 +0000
parents 65941f3d5db8
children 27ebd96798c4
line wrap: on
line source
#ifndef ERRORCODES_H
#define ERRORCODES_H

/* No begin certificate / end certificate could be found */
#define ERR_INVALID_INPUT_NO_LIST 2
/* Too much input for the installer process */
#define ERR_TOO_MUCH_INPUT 3
/* Invalid signature */
#define ERR_INVALID_SIGNATURE 4
/* No instructions */
#define ERR_NO_INSTRUCTIONS 5
/* Instructions not valid (certs not part of certificate list) */
#define ERR_INVALID_INSTRUCTIONS 6
/* Failed to access specified store */
#define ERR_STORE_ACCESS_DENIED 7
/* Failed to add certificate to store */
#define ERR_STORE_ADD_FAILURE 7
/* Generic invalid input */
#define ERR_INVALID_INPUT 8

/***********************************************************************
 * mozilla specific errors and warnings
 * errors range from 0x4D01 to 0x4DFF
 * warnings from 0x4F01 to 0x4F80
 * Warnings might be ORed together ...
 */

/* Warning: Failed to read profile.ini */
#define WARN_MOZ_FAILED_TO_OPEN_INI 0x4F01

#endif

http://wald.intevation.org/projects/trustbridge/