---
name: "mtp_LIBMTP_device_extension_struct"
section: "3"
platform: "linux"
package: "libmtp-doc"
version: "1.1.22-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mtp_LIBMTP_device_extension_struct"
---

# mtp\_LIBMTP\_device\_extension\_struct(3)

## NAME

libmtp -

## SYNOPSIS

`#include <libmtp.h>`

### Data Fields

char \* **name**\
 int **major**\
 int **minor**\
 **LIBMTP\_device\_extension\_t** \* **next**\

## Detailed Description

MTP device extension holder struct

## Field Documentation

### int LIBMTP\_device\_extension\_struct::major

Major revision of extension

Referenced by **LIBMTP\_Dump\_Device\_Info()**.

### int LIBMTP\_device\_extension\_struct::minor

Minor revision of extension

Referenced by **LIBMTP\_Dump\_Device\_Info()**.

### char\* LIBMTP\_device\_extension\_struct::name

Name of extension e.g. 'foo.com'

Referenced by **LIBMTP\_Dump\_Device\_Info()**, **LIBMTP\_Open\_Raw\_Device\_Uncached()**, and **LIBMTP\_Release\_Device()**.

### LIBMTP\_device\_extension\_t\* LIBMTP\_device\_extension\_struct::next

Pointer to the next extension or NULL if this is the last extension.

Referenced by **LIBMTP\_Dump\_Device\_Info()**, **LIBMTP\_Open\_Raw\_Device\_Uncached()**, and **LIBMTP\_Release\_Device()**.

## Author

Generated automatically by Doxygen for libmtp from the source code.
