---
name: "mongoc_index_opt_geo_init"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_index_opt_geo_init"
---

# mongoc\_index\_opt\_geo\_init(3)

## SYNOPSIS

```
void
mongoc_index_opt_geo_init (mongoc_index_opt_geo_t *opt);
```

## PARAMETERS

- •

  **opt**: A *mongoc\_index\_opt\_geo\_t*.

## DESCRIPTION

This function will initialize **opt** to the default values. It should be called before modifying any fields within the structure.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
