# C · Doxygen

Real Doxygen XML output from the checked-in c fixture source. Generated artifacts, commands, versions, and SHA-256 hashes are recorded under sources/native. This is a teaching library, not a published SDK.

> Source: https://appgram.github.io/docsy/versions/current/fr/c-sdk  
> Language: c  
> Symbols: 6 across 4 categories

## Categories

- [Enums](#enums) — 1 items
- [Functions](#functions) — 2 items
- [Structs](#structs) — 1 items
- [GreetingOptions](#greetingoptions) — 2 items

## Enums

### `Mood`  <sub>enum</sub>

Supported greeting moods.

**Values** — `Friendly`, `Formal`

## Functions

### `greet`  <sub>function</sub>

Greet a reader.

**Parameters**

| Name | Type | Required | Description |

| --- | --- | --- | --- |

| `name` | `const char *` | ✓ | Reader name. |

**Returns** — `const char *` — A friendly greeting.

```c
const char * greet(const char *name)
```

**Example**

```c
const char *message = greet("Docsy");
```

---

### `greet_many`  <sub>function</sub>

Greet a batch of readers.

**Parameters**

| Name | Type | Required | Description |

| --- | --- | --- | --- |

| `names` | `const char **` | ✓ | Reader names. |

| `count` | `unsigned int` | ✓ | Number of names. |

**Returns** — `int` — Zero on success; a non-zero error code for invalid input.

```c
int greet_many(const char **names, unsigned int count)
```

**Example**

```c
const char *names[] = {"Ada", "Linus"};
int status = greet_many(names, 2);
```

## Structs

### `GreetingOptions`  <sub>struct</sub>

Greeting options shared by batch operations.

**Properties**

| Name | Type | Required | Description | Default |

| --- | --- | --- | --- | --- |

| `GreetingOptions.prefix` | `const char *` | ✓ | Prefix inserted before each name. |  |

| `GreetingOptions.limit` | `unsigned int` | ✓ | Maximum number of readers accepted. |  |

```c
struct GreetingOptions
```

## GreetingOptions

### `GreetingOptions.limit`  <sub>property</sub>

Maximum number of readers accepted.

**Returns** — `unsigned int`

```c
unsigned int GreetingOptions::limit
```

---

### `GreetingOptions.prefix`  <sub>property</sub>

Prefix inserted before each name.

**Returns** — `const char *`

```c
const char* GreetingOptions::prefix
```
