Method

ShumateFileCachestore_tile_async

Declaration [src]

void
shumate_file_cache_store_tile_async (
  ShumateFileCache* self,
  int x,
  int y,
  int zoom_level,
  GBytes* bytes,
  const char* etag,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Stores a tile in the cache.

Parameters

x int
 

The X coordinate of the tile.

y int
 

The Y coordinate of the tile.

zoom_level int
 

The zoom level of the tile.

bytes GBytes
 

A GBytes.

 The data is owned by the caller of the function.
etag const char*
 

An ETag string, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

A GAsyncReadyCallback to execute upon completion.

 The argument can be NULL.
user_data gpointer
 

Closure data for callback.

 The argument can be NULL.
 The data is owned by the caller of the function.