| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

credentials.h File Reference

Definitions for credentials. More...

Go to the source code of this file.

## Functions
int | cred_compare (const struct cred *as_is, const struct cred *to_be)
| Compare credentials. More...

## Detailed Description

Definitions for credentials.

Copyright
  (C) 2012-2019, Samsung Electronics Co., Ltd.

## Function Documentation

int cred_compare | ( | const struct cred * | as_is,
|  | const struct cred * | to_be
| ) |  |

Compare credentials.

Parameters

  [in] | as_is | struct of credentials which user has got
  [in] | to_be | struct of credentials which need to have

Returns
  0 on success
  -1 on error