DRM_GETMAGIC

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

drm_getmagic -  

SYNOPSIS

"SYNOPSIS"

int drm_getmagic (struct inode * inode, struct file * filp, unsigned int cmd, unsigned long arg);  

ARGUMENTS

inode
-- undescribed --
filp
-- undescribed --
cmd
-- undescribed --
arg
-- undescribed --
 

DESCRIPTION

\param inode device inode. \param filp file pointer. \param cmd command. \param arg pointer to a resulting drm_auth structure. \return zero on success, or a negative number on failure.  

IF THERE IS A MAGIC NUMBER IN DRM_FILE

:magic then use it, otherwise searches an unique non-zero magic number and add it associating it with \p filp.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
IF THERE IS A MAGIC NUMBER IN DRM_FILE

This document was created by man2html, using the manual pages.
Time: 00:02:05 GMT, October 09, 2005