---
name: "mongoc_gridfs_file_opt_t"
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_gridfs_file_opt_t"
---

# mongoc\_gridfs\_file\_opt\_t(3)

## SYNOPSIS

```
typedef struct {
   const char *md5;
   const char *filename;
   const char *content_type;
   const bson_t *aliases;
   const bson_t *metadata;
   uint32_t chunk_size;
} mongoc_gridfs_file_opt_t;
```

## DESCRIPTION

This structure contains options that can be set on a *mongoc\_gridfs\_file\_t*. It can be used by various functions when creating a new gridfs file.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
