mongoc_gridfs_file_get_content_type man page

mongoc_gridfs_file_get_content_type() — Fetches the content type specified for the underlying file.

Synopsis

const char *
mongoc_gridfs_file_get_content_type (mongoc_gridfs_file_t *file);

Parameters

file
A mongoc_gridfs_file_t

Description

Fetches the content type specified for the underlying file.

Returns

Returns a string which should not be modified or freed.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐19 MongoDB C Driver