---
name: "LIBMTP_device_extension_struct"
section: "3"
platform: "linux"
package: "libmtp"
version: "1.1.23-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/LIBMTP_device_extension_struct"
---

# LIBMTP\_device\_extension\_struct(3)

## NAME

LIBMTP\_device\_extension\_struct

## 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.
