APM:Libraries
Macros | Functions | Variables
Storage.cpp File Reference
#include "Storage.h"
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_Vehicle/AP_Vehicle_Type.h>
Include dependency graph for Storage.cpp:

Go to the source code of this file.

Macros

#define STORAGE_FILE   SKETCHNAME ".stg"
 

Functions

static int is_dir (const char *path)
 
static int mkdir_p (const char *path, int len, mode_t mode)
 

Variables

const AP_HAL::HALhal
 -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- More...
 

Macro Definition Documentation

◆ STORAGE_FILE

#define STORAGE_FILE   SKETCHNAME ".stg"

Definition at line 23 of file Storage.cpp.

Referenced by Linux::Storage::_storage_create().

Function Documentation

◆ is_dir()

static int is_dir ( const char *  path)
inlinestatic

Definition at line 27 of file Storage.cpp.

Referenced by mkdir_p().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mkdir_p()

static int mkdir_p ( const char *  path,
int  len,
mode_t  mode 
)
static

Definition at line 38 of file Storage.cpp.

Referenced by Linux::Storage::_storage_create().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ hal

const AP_HAL::HAL& hal

-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

Definition at line 14 of file AC_PID_test.cpp.