From bcce8cc7b41f869fa2b022f85622cd389082d0f5 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 21 Nov 2016 00:00:32 +0000 Subject: fix spelling of retrived --- content/backing_store.h | 22 +++++++++++----------- content/handlers/css/hints.h | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'content') diff --git a/content/backing_store.h b/content/backing_store.h index 4e29511cb..3a1ae8f15 100644 --- a/content/backing_store.h +++ b/content/backing_store.h @@ -38,7 +38,7 @@ enum backing_store_flags { * low level cache backing store operation table * * The low level cache (source objects) has the capability to make - * objects and their metadata (headers etc) persistant by writing to a + * objects and their metadata (headers etc) persistent by writing to a * backing store using these operations. */ struct gui_llcache_table { @@ -46,14 +46,14 @@ struct gui_llcache_table { * Initialise the backing store. * * @param parameters to configure backing store. - * @return NSERROR_OK on success or error code on faliure. + * @return NSERROR_OK on success or error code on failure. */ nserror (*initialise)(const struct llcache_store_parameters *parameters); /** * Finalise the backing store. * - * @return NSERROR_OK on success or error code on faliure. + * @return NSERROR_OK on success or error code on failure. */ nserror (*finalise)(void); @@ -72,16 +72,16 @@ struct gui_llcache_table { * been completely written on return. * * @param[in] url The url is used as the unique primary key for the data. - * @param[in] flags The flags to control how the obejct is stored. + * @param[in] flags The flags to control how the object is stored. * @param[in] data The objects data. * @param[in] datalen The length of the \a data. - * @return NSERROR_OK on success or error code on faliure. + * @return NSERROR_OK on success or error code on failure. */ nserror (*store)(struct nsurl *url, enum backing_store_flags flags, uint8_t *data, const size_t datalen); /** - * Retrive an object from the backing store. + * Retrieve an object from the backing store. * * The backing store will manage its own memory and the * allocations returned in \a data *must* not be altered. @@ -91,10 +91,10 @@ struct gui_llcache_table { * calling the release method. * * @param[in] url The url is used as the unique primary key for the data. - * @param[in] flags The flags to control how the object is retrived. - * @param[out] data The retrived objects data. + * @param[in] flags The flags to control how the object is retrieved. + * @param[out] data The retrieved objects data. * @param[out] datalen The length of the \a data retrieved. - * @return NSERROR_OK on success or error code on faliure. + * @return NSERROR_OK on success or error code on failure. */ nserror (*fetch)(struct nsurl *url, enum backing_store_flags flags, uint8_t **data, size_t *datalen); @@ -104,7 +104,7 @@ struct gui_llcache_table { * * @param url The url is used as the unique primary key to invalidate. * @param[in] flags The flags to control how the object data is released. - * @return NSERROR_OK on success or error code on faliure. + * @return NSERROR_OK on success or error code on failure. */ nserror (*release)(struct nsurl *url, enum backing_store_flags flags); @@ -117,7 +117,7 @@ struct gui_llcache_table { * If the entry had data allocated it will be released. * * @param url The url is used as the unique primary key to invalidate. - * @return NSERROR_OK on success or error code on faliure. + * @return NSERROR_OK on success or error code on failure. */ nserror (*invalidate)(struct nsurl *url); diff --git a/content/handlers/css/hints.h b/content/handlers/css/hints.h index 2c1835970..3d44d2180 100644 --- a/content/handlers/css/hints.h +++ b/content/handlers/css/hints.h @@ -31,8 +31,8 @@ void css_hint_fini(void); * * \param[in] pw HTML document * \param[in] node DOM node - * \param[out] nhints number of hints retrived - * \param[out] hints retrived hints + * \param[out] nhints number of hints retrieved + * \param[out] hints retrieved hints * \return CSS_OK on success, * CSS_PROPERTY_NOT_SET if there is no hint for the requested property, * CSS_NOMEM on memory exhaustion. -- cgit v1.2.3